keep values of inputs that share the same id/name in sync
I'm submitting a
[ ] Bug / Regression
[ ] Feature Request / Proposal
I'm using
NG Dynamic Forms Version: `8.1.0`
[ ] Basic UI
[ ] Bootstrap UI
[ ] Foundation UI
[ ] Ionic UI
[ ] Kendo UI
[ ] Material
[ ] NG Bootstrap
[ ] Prime NG
Description
In a form i build from json, sometimes questions are asked twice.
I've noticed that if i give these duplicate inputs the same id/name in my form json, if one has a value, the other will have that exact same value when the form is built.
but when i update either of those values, the other input's value will not update.
How could i keep these values in sync so that all inputs that share the same id/name will always share the same value, no matter which input the user changes the value of
or is it possible to sync values of controls that have different id/name but are similar like firstName2 and firstName2 both have id's that start with firstName so they should stay synced