lucca-front icon indicating copy to clipboard operation
lucca-front copied to clipboard

[Form Field] mod-undefined is added whenever a size isn't provided

Open klediouron opened this issue 10 months ago • 1 comments

When using the <lu-form-field>, if a size isn't provided with its @Input, the [mod-${this.size}] class is actually a mod-undefined.

A way to avoid this might be to set a defaultValue to the size input, such as 'M', or make it required.

klediouron avatar Apr 25 '24 12:04 klediouron