-
Notifications
You must be signed in to change notification settings - Fork 273
feat: add support for angular two way data binding #706
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
Conversation
@fifoosid I have the context and I agree with the changes, but if there should be comments that it's done to enable two-way data binding, please add that it is for Angular |
@@ -327,6 +327,8 @@ class DatePicker extends UI5Element { | |||
|
|||
this.value = nextValue; | |||
this.fireEvent("change", { value: nextValue, valid: isValid }); | |||
// Two way data binding | |||
this.fireEvent("value-changed", { value: nextValue, valid: isValid }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check no-conflict mode (should not fire ui5- for value-changed)
@@ -1,9 +1,17 @@ | |||
import { getNoConflict as getConfiguredNoConflict } from "../InitialConfiguration.js"; | |||
|
|||
const twoWayDataBindingEvents = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
twoWayDataBindingEvents too specific, excludeList
or something similar
isTwoWayDataBindingEvent as well, skipPrefix
, isEventExcluded
or similar
No description provided.