You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that a Condition is set on a property inside an Array
When the Condition is false
Then that property of the Model (that element inside the Array) should be cleaned as per the DestroyStrategy
Actual behaviour
That property of the Model (that Element inside the Array) retains any previous value entered, instead of being removed as per the default DestroyStrategy
@doomie999 pleased to say this appears to be working in alpha.4 after some other remotely related changes to fix array behaviour. I have tested at depth yet, but I don't see why it wouldn't work, I will try to create a unit test at depth soon.
Expected behaviour
Actual behaviour
Gist/Plunker/Demo
Plunker of the bug
The Array contains Objects with several properties:
Upon filling in helloText, fooText, barText, note that:
Other notes
I've coded up a small fix for this, and will be adding a Pull Request subsequently.
@json-schema-form/angular-schema-form-lead
The text was updated successfully, but these errors were encountered: