JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Buttons › Checkbox on focus doesn’t fire › Reply To: Checkbox on focus doesn’t fire
September 21, 2022 at 9:25 am
#103719
Keymaster
Hi,
Yes, and that is exactly how it should work. Focus is raised when you click, after that Change is raised as it changes the state from true->false or false->true. Then when it is on focus, only Change event is raised as only the state is changed, the focus is not. When you click outside and focus a different element and after that click again on the checkbox, the focus and changed will be raised.
Best Regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/