Select Box Selected entity not clearing

I have a button on my page. When the user clicks the button, the entity selected in a selectbox should be reset/cleared as one of the standard actions associated with the button click.

All the text input fields clear fine on button click, but the selectbox seems to retain the name of the previously selected user entity.
Selectbox qodlysource: accountOwners
Selectbox selected element: selOwner
Text in selectbox: $This.legal_name

Standard action on button click is Clear selOwner.

Am I doing this the right way?

Hello Robert,

Instead of the action “Clear” on the button, you need to use the action “Reset”:

“Reset” gives the initial value to the entity that represents the selected element of the selectbox component.
The important thing is that the entity should have a “none” initial value to clear it once we click on that button with the “Reset” standard action:

Best regards.

2 Likes