eManPrague / frui.ts

Pragmatic MVVM frontend framework
MIT License
14 stars 5 forks source link

ensureObservableProperty() sets already present observable value #33

Closed gius closed 2 years ago

gius commented 3 years ago

ensureObservableProperty() should not attempt to set the value if the property is already observable and equals the new value.

The current behavior causes problems when initializing an automatic validator outside of an action

gius commented 2 years ago

Will be solved with v1 validation refactoring.