When using Angular binding syntax, the debounce value can be set after connectedCallback, but before componentDidLoad. This results in the internal representation of the debounce value to be the default and the watch callback to never fire.
What is the new behavior?
The callback handler for debounce is called on component load, identical to what we do for the same exact reasons for the input type.
debounce will correctly reflect and apply the developers value when using binding syntax on initial load
Issue number: resolves #29374
What is the current behavior?
When using Angular binding syntax, the
debounce
value can be set afterconnectedCallback
, but beforecomponentDidLoad
. This results in the internal representation of thedebounce
value to be the default and the watch callback to never fire.What is the new behavior?
debounce
is called on component load, identical to what we do for the same exact reasons for the inputtype
.debounce
will correctly reflect and apply the developers value when using binding syntax on initial loadDoes this introduce a breaking change?
Other information
Dev-build:
8.0.1-dev.11713879639.102f51a0
Forked reproduction with the dev-build is available here: https://github.com/ionic-team/ionic-framework/issues/29374#issuecomment-2072377087