Is it possible to use checkbox/select with multiple checkboxes with enumSource?
See original GitHub issueIs it possible to use checkbox/select with multiple checkboxes with enumSource? It works fine with using $ref to fetch values, but my case needs to allow modification of values in checkbox during runtime.
{
"type": "array",
"format": "select",
"uniqueItems": true,
"items": {
"type": "string",
//"enum": ["value1","value2"]
"watch": {
"values": "possible_values"
},
"enumSource": "values"
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
React Tutorial – How to Work with Multiple Checkboxes
So in this article, we'll see how to work with multiple checkboxes in React. You will learn: How to use a checkbox as...
Read more >How to use Checkbox inside Select Option - Stack Overflow
You cannot place checkbox inside select element but you can get the same functionality by using HTML, CSS and JavaScript. Here is a...
Read more >How To Select Multiple Checkboxes In Selenium WebDriver ...
This article discusses various techniques on how to select multiple Checkboxes in Selenium WebDriver using Java.
Read more ><input type="checkbox"> - HTML: HyperText Markup Language
The example we saw above only contained one checkbox; in real-world situations you'll be likely to encounter multiple checkboxes.
Read more >Checkboxes - The complete HTML5 tutorial
Using checkboxes is a good option when you want to give your visitors the option to choose several items from a group of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@marcc-orange Actually my example doesn’t present a workaround as it serves as issue description. You’d need to modify enum from JS as in playground example LINK. In my case I use it with
watch()
hook. Hope that helps 😃In the 2.x branch I have also introduces some changes to the Theme format. So it now can use Style Rules instead of hardcode Inline Styles. (This makes it so much easier to restyle from CSS) And you can add configurable options to the Theme, to have different layouts.
So if you are going to update the Materialize theme, it might be a good idea to use the 2.x branch. 😉