Merge remote-tracking branch 'origin/main' into chore/sync-with-main-5-3

This commit is contained in:
Sean Perkins
2023-05-03 13:38:03 -04:00
2722 changed files with 42463 additions and 9932 deletions

View File

@ -424,7 +424,11 @@ export class Input implements ComponentInterface {
*/
private emitInputChange(event?: Event) {
const { value } = this;
this.ionInput.emit({ value, event });
// Checks for both null and undefined values
const newValue = value == null ? value : value.toString();
this.ionInput.emit({ value: newValue, event });
}
private shouldClearOnEdit() {