-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Description
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.