How to reset/empty 2nd dropdown value when we click on 1st dropdown selection

0
I have dropdown 1 and dropdown 2 but i want to reset 2nd dropdown value when we change  1st dropdown value.
asked
3 answers
2

hi Amol Gaikwad,

 In microflow, have a decision check  based on your requirement like empty or based on dropdown 1 value change dropdown value 2 using change object

answered
1

See the constrained by function described here: https://docs.mendix.com/refguide/reference-selector/#xpath-constraints
Or use an onchange micro or nanoflow that empties the second dropdown so the user needs to select a new value.

Regards,

Ronald

 

answered
0

Hello Amol,

 

You can use onchange microflow to change the value and set it to empty. Even if the options are enumeration you can just enter "empty" in the value space and it will accept it as valid option.

 

I assume its an enumeration attribute then empty is a valid input to it.

 

answered