I have a requirement of getting None value from the Dropdown option for example
dcc.Dropdown(id=‘max_features_rfc’, options=[{‘label’: ‘auto’, ‘value’: ‘auto’},
{‘label’: ‘sqrt’, ‘value’: ‘sqrt’},
{‘label’: ‘log2’, ‘value’: ‘log2’},
{‘label’: ‘None’, ‘value’: None}, ],
value=‘sqrt’),
but I am getting an error saying invalid option for Dropdown options because of:
{‘label’: ‘None’, ‘value’: None}