Git Product home page Git Product logo

Comments (5)

sashamilenkovic avatar sashamilenkovic commented on May 23, 2024

@KoenCa This should be fixed at 0.116.0 for @formkit/pro. Should be reflected in the playground if you give it a hard reload.

from formkit.

KoenCa avatar KoenCa commented on May 23, 2024

@sashamilenkovic Yes, it works in the playground now.

from formkit.

KoenCa avatar KoenCa commented on May 23, 2024

I noticed that when the initial value is set to null for example via the value prop then the cross icon is also shown, but of course no value is selected. Is this intended behavior? I think this is wrong, because none of my options have a value of null:
https://formkit.link/e7e8a70c353453bd507d0e6ba4ac798b

from formkit.

sashamilenkovic avatar sashamilenkovic commented on May 23, 2024

@KoenCa When a value is provided that doesn't match any of the options, it will take the value provided and render a label based off of it. For example, passing an initial value of "Hello World" will render as such: https://formkit.link/2f010d10d52d0c2dd21271756958ed9e. That is intentional. However, I think I agree that null should not be considered a valid value. I will take a look at this today.

from formkit.

sashamilenkovic avatar sashamilenkovic commented on May 23, 2024

@KoenCa A fix has been published on 0.117.3. I'll close this issue again for now, but let me know if you have any issues.

from formkit.

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.