Skip to main content

Celonis Product Documentation

Clearing Dropdowns with a Button

The Button component can be used clear input Dropdowns that are updating a variable within your view.  This "Clear All" button behavior can be easily set up from the Button's YAML and can be used to clear one or several Dropdowns components. 

To do this, there is a “onClick” action called “clearInputs” where you can define the specific Dropdowns in your View that you would like to “clear” when the button is selected by referencing the Dropdowns unique ID value. This action will set the variable that the dropdown is updating to null and clear the Dropdown's selection simultaneously. 

clear_dropdown_yaml.png

Known limitations: 

  • This feature will only work when the dropdown is updating a variable. 

  • It can only be used when the components (Dropdown and Button) are on the same view.