question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to use checkbox/select with multiple checkboxes with enumSource?

See original GitHub issue

Is 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:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
lukzascommented, Aug 13, 2019

@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 😃

1reaction
pmk65commented, Aug 3, 2019

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. 😉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found