Code Monkey home page Code Monkey logo

Comments (5)

rudiedirkx avatar rudiedirkx commented on June 16, 2024

It's only null if there's no input from the database. Are you building the form correctly? Make sure the field value is always an array or collection. Usually that's implicit, from the form's model. Your value is apparently null, which is odd. Make sure you build the form on the GET page the same as for validation on the POST page, with the same model.

from laravel-form-builder.

rudiedirkx avatar rudiedirkx commented on June 16, 2024

I released 1.51 where this scenario is fixed, but you're still doing something wrong.

from laravel-form-builder.

fureszk avatar fureszk commented on June 16, 2024

Wow, that was pretty quick and pretty rude. I will separate an example to prove you wrong.

from laravel-form-builder.

fureszk avatar fureszk commented on June 16, 2024

In the meantime, would you please let me know how it is possible that what I do incorrectly (by your opinion) works perfectly with 1.40 but not with 1.50? Minor version update should not break working code.

from laravel-form-builder.

rudiedirkx avatar rudiedirkx commented on June 16, 2024

It was wrong in 1.40 too, but it didn't break then. Sometimes bug fixes break existing code. I don't know the exact change between 1.40 and 1.50, and I don't even know if my assumption is right, but the only way I know the field value is null is if you're doing something wrong. Do you build the POST form the exact same way as the GET form?, with the same model and data and options etc?

from laravel-form-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.