I have a form with dropdown boxes, can I make a box have the options available based on the previous selection?
Example:
If in the first selection it is equal to Marketing then in the next box you will only have certain options.
I have a form with dropdown boxes, can I make a box have the options available based on the previous selection?
Example:
If in the first selection it is equal to Marketing then in the next box you will only have certain options.
You can have the select component's values mapped depending on another's by using a conditional (JS ternary). It'll look something like this: