GithubHelp home page GithubHelp logo

Comments (3)

ffxsam avatar ffxsam commented on July 26, 2024

Well, upon initial rendering, you're right, the field values would be empty. But a second render is performed when the values are populated, and then the fields are filled. If you put together a test project, you'll see that it works ok and all the fields are properly filled with defaults.

If you find that's not the case or there's some other issue, let me know!

from formous.

jhsu avatar jhsu commented on July 26, 2024

i guess the problem is that it still causes a render with an empty string value which requires all components that take a value to accept and still render when an empty string value is given.

this is a problem in cases such as a dropdown select where a component might expect a valid value (a value that is an option)

from formous.

ffxsam avatar ffxsam commented on July 26, 2024

Dropdowns aren't supported just yet. Getting there!

If setDefaultValues is not working the way you expect, could you put together a reproduction of the problem you're experiencing? That way I can run it myself and take a look at what's going on.

Thanks!

from formous.

Related Issues (13)

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.