microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
296 stars 49 forks source link

(SearchBox) Support OnChange to fire only on enter or losing focus #237

Open scottdurow opened 1 year ago

scottdurow commented 1 year ago

The standard text box only fires the OnChange event when the user presses enter or moves focus away from the control. This is required to allow fast searching without tabbing away to another button to execute the search.

Currently, the OnChange event fires with every key press.

This is related to microsoft/powercat-code-components#82

bronsonacoutts commented 1 month ago

I agree, I would be much nicer to have this aligned with the existing text input so that OnChange() can be set to Select() a button i.e. the search button for faster searching.