Form elementsConfig does not take effect when adding views dynamically

Hello,

Based on the solution posted in Topic Adding fields dynamically
the elementsConfig for the views in the form do not take effect.

see https://snippet.webix.com/hv95m0xn

Thanks & Regards
Michael

Hello @Mimu1988 ,

It is an expected behavior, as elementsConfig is processed only on form initialization and won’t affect on newly added items.
As a suggestion, you could extend new inputs with form elementsConfig properties before adding a new layout: Code Snippet .

Hello @MariyaDemy ,

Thanks for the solution.

In my opinion it would be a cleaner solution if the elementsConfig also take effect when views are added afterwards. Maybe you can take it into account for your next release :wink:

Thanks
Michael