4 ms·
Maybe something like this for choices? fruits = MultiChoiceInput # What are your favourite fruits? - [ ] Apples - [ ] Oranges
by notpushkin 2y ago
Maybe something like this for choices?
fruits = MultiChoiceInput
# What are your favourite fruits?
- [ ] Apples
- [ ] Oranges
- [ ] Bananas
Personally I'd prefer good old MDX though:
<MultiChoiceInput
name="fruits"
hideIf={name.value !== "FruitLover"}
options={["Apples", "Oranges", "Bananas]}
/>