GithubHelp home page GithubHelp logo

Comments (2)

radekmie avatar radekmie commented on August 16, 2024

Yes, type: [something] and uniforms.options is a good way to do it, but you can also use uniforms.transform (or transform prop directly). Eventually, you'll need to create a wrapper to map values from that select to your desired values.

from uniforms.

radekmie avatar radekmie commented on August 16, 2024

tl;dr;
To have a custom multi-select, you have to create your custom wrapper. If you'll face any problems, comment here, ask me directly or create an issue.

Longer version
Multiple selects are a hard topic in general - even Bootstrap and Semantic have no special CSS-only theming for it. Of course, they have alternatives (Semantic have it built-in and there are many community packages to do it in Bootstrap), but they either require jQuery or are very opinionated. I've implemented multi-checkbox fallback to close #33. I think it will cover most cases.

from uniforms.

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.