mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
onSelect event gets triggered when dropdown value is cleared using clear button.
This commit is contained in:
parent
679811ad76
commit
ac36acd9c1
1 changed files with 1 additions and 0 deletions
|
|
@ -436,6 +436,7 @@ export const DropdownV2 = ({
|
|||
onChange={(selectedOption, actionProps) => {
|
||||
if (actionProps.action === 'clear') {
|
||||
setInputValue(null);
|
||||
fireEvent('onSelect');
|
||||
}
|
||||
if (actionProps.action === 'select-option') {
|
||||
setInputValue(selectedOption.value);
|
||||
|
|
|
|||
Loading…
Reference in a new issue