-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui5-input): Consistent "change" event (#4129)
* fix(ui5-input): Consistent "change" event The change event was not fired consistently in different scenarios. This change tries to fix that, so only a new value would trigger a henge event. There are some "edge" cases like: - Selecting an item from suggestions should trigger change event imediately, if the value actually changed - Hitting Enter should trigger change event imediately, if the value actually changed - Focusing out should trigger change event, if the value actually changed. BUT should not trigger it if Enter was pressed before that. * The change event was not fired consistently in different scenarios. This change tries to fix that, so only a new value would trigger a henge event. There are some "edge" cases like: - Selecting an item from suggestions should trigger a change event immediately, if the value actually changed - Hitting Enter should trigger a change event immediately, if the value actually changed - Focusing out should trigger a change event, if the value actually changed. BUT should not trigger it if Enter was pressed before that. * Fix change eventing for DatePicker * Fix Input's onEnter change eventing * Fix ESLint errors * WDIO tests * WDIO tests * Bugfixes * Rewrite change event firing * Revert DatePicker changes for change event * Fix date tests * Revert date tests * Datepicker update * Eslint fixes * Fix tests * Update tests * Adjust tests * Add some notes
- Loading branch information
Showing
6 changed files
with
110 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters