The ArrayInput does not currently link and unlink the elements it contains. The linking of elements is currently left until the ArrayInput value is set, however this linking is skipped when the value hasn't changed. It should not be required to update the input value in order to link to another set of observers. This PR addresses this by explicitly linking all ArrayInput elements when it has been linked itself.
The ArrayInput does not currently link and unlink the elements it contains. The linking of elements is currently left until the ArrayInput value is set, however this linking is skipped when the value hasn't changed. It should not be required to update the input value in order to link to another set of observers. This PR addresses this by explicitly linking all ArrayInput elements when it has been linked itself.
Fixes https://github.com/playcanvas/editor/issues/1002