Label Common component can fail trying to write styles to a readonly object
valadas opened this issue · comments
Daniel Valadas commented
Describe the bug
The label styles are merges from two readonly objects using a function (Object.Assign) that writes to the first object and it fails because that object is readonly.
To Reproduce
Steps to reproduce the behavior:
- Not sure how, works in the storybook but fails in the Extensions module license acceptance.
Error log
Forgot to copy it, but something along the lines of: Cannot assing "float" to object labelStyle, from Object.Assing because it is readonly.
Additional context
Will submit a pull request on this in a minute.