Closed BPanchenko closed 1 year ago
Arrays defined in different locals variables of <extends> are concatenated with each other.
<extends>
Example:
<extends src="main.html" locals='{ "breadcrumbs": [ "Components", "Button" ] }'>...</extends> <extends src="main.html" locals='{ "breadcrumbs": [ "Components", "Field" ] }'>...</extends>
Result:
{ "breadcrumbs": [ "Components", "Button", "Components", "Field" ] }
Is this Bug or am I passing arrays incorrectly?
Arrays defined in different locals variables of
<extends>
are concatenated with each other.Example:
Result:
Is this Bug or am I passing arrays incorrectly?