OntimizeWeb / ontimize-web-ngx

Web application framework based on Angular technology and standards for building web apps.
https://ontimizeweb.github.io/docs/
Apache License 2.0
40 stars 16 forks source link

form cache: When setValue is set programmatically after the change in the component, the order of changes in the form cache is not correct #1748

Open patricia-martinez-imatia opened 1 week ago

patricia-martinez-imatia commented 1 week ago

What is the current behavior?

When setValue is set programmatically after the change in the component, the order of changes in the form cache is not correct

Steps to reproduce

` onChange(event, surname:OTextInputComponent, combo: OComboComponent, nif: ONIFInputComponent) { if (event.oldValue === void 0) return; combo.setValue(1); surname.setValue(test);

}`

the value changes stack would be [combo, surname, name]

Affected versions: