Data bound to the checked property of an input is not up to date when the change event fires. It looks like this is because the click event is used to track changes to checkboxes.
It seems reasonable to expect that bound data is up to date when an event that changes it fires, and this is indeed the case for input.value and the input event.
Could this be addressed by changing the update code to use the change event instead of click?
Data bound to the checked property of an input is not up to date when the change event fires. It looks like this is because the click event is used to track changes to checkboxes.
It seems reasonable to expect that bound data is up to date when an event that changes it fires, and this is indeed the case for input.value and the input event.
Could this be addressed by changing the update code to use the change event instead of click?