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

Binding is not working during creation #2064

Closed
wawert opened this issue Dec 21, 2015 · 0 comments
Closed

Binding is not working during creation #2064

wawert opened this issue Dec 21, 2015 · 0 comments

Comments

@wawert
Copy link

wawert commented Dec 21, 2015

Hi.

I am trying to create custom input component.
The component has "current" property for his value.
The value can change by editing the input element of the component or by receiving new value directly via "current".
There is a validation invoked on the new input and in case the validation pass, the value is accepted, and if not the value is reverted back.

In the jsfiddle https://jsfiddle.net/df1L8zez/
"in" property of main is bind to "current" of the InputComponent, but the binding is not working upon creation( The values are different).

It looks like a bug for me, since synchronization is not reflected

If input will change to valid, the sync will occur.
If parsing input will move to ready, instead of created, the sync, also works.
It looks like the issue is non syncing value in created.

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

No branches or pull requests

1 participant