Dropdown disable certain values

Based on the dropdown value how can I disable certain values in the following dropdown without completely removing the option, cause at some point when the data is available I would want to reactivate that value in the secondary dropdown.

You can pass a “disabled” item to the option dictionary (value is boolean) in the second Dropdown. Then you just need to add a callback with the first Dropdown value as input and the second Dropdown options as output and select with ones are disabled.

Please refer to the Dropdown documentation under “Disabled Options” for details.