I have a dropdown2 in my form that is filled with the data obtained from a database with a read_data after a reload action activated by another dropdown1.This action is done correctly but I want the default value shown in the dropdown2 after the reload action to be a certain value.
I enter this value in the "selected values" field of dropdown2 but it is ignored after the reload action.
For example:
Dropdown values obtained from the database:
1 = Test 1
2 = Test 2
3 = Test 3
.....
Selected values:
2
Result:
Test 1
You always get the first value "Test 1" even if we try to change selected values by 1, 2, 3, ....
This behavior only occurs after a reload action.
Please, How can I indicate to the dropdown the value I want to show after the reload action?
I enter this value in the "selected values" field of dropdown2 but it is ignored after the reload action.
For example:
Dropdown values obtained from the database:
1 = Test 1
2 = Test 2
3 = Test 3
.....
Selected values:
2
Result:
Test 1
You always get the first value "Test 1" even if we try to change selected values by 1, 2, 3, ....
This behavior only occurs after a reload action.
Please, How can I indicate to the dropdown the value I want to show after the reload action?