Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ui5-datepicker): rename event 'liveChange' to 'input' #394

Merged
merged 3 commits into from
May 16, 2019

Conversation

ilhan007
Copy link
Member

@ilhan007 ilhan007 commented May 15, 2019

Rename the 'liveChange' event to 'input' in order to have consistency with the ui5-input,
which already fires 'input' event.
FIXES: #365

BREAKING CHANGE: 'liveChange' event has been renamed to 'input'.

@ilhan007 ilhan007 requested review from pskelin and MapTo0 May 15, 2019 11:21
dp.addEventListener('ui5-liveChange', function(e) {
console.log('liveChange: ', e.detail);
labelLiveChange.innerHTML = 'liveChange: ' + JSON.stringify(e.detail);
dp.addEventListener('input', function(e) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please merge the master branch? the tests are running in no-conflict mode so the events have to be with the ui5- prefix.

@ilhan007 ilhan007 merged commit 676c1e6 into master May 16, 2019
@ilhan007 ilhan007 deleted the refactor-datepicker-liveChange branch May 16, 2019 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui5-datepicker and ui5-input events` names are inconsistent
2 participants