forms-bootstrap icon indicating copy to clipboard operation
forms-bootstrap copied to clipboard

Variable Mismatch for Maximum Length of Content

Open revoke opened this issue 8 months ago • 1 comments

https://github.com/contributte/forms-bootstrap/blob/d5ea03ae5e7431b43ee245856d1dfd10e23f2845/src/Traits/BootstrapContainerTrait.php#L323

The $cols variable, which defines the visual width (columns) of the input field, is currently being used to set the maxlength HTML attribute.

This will result in the maximum length of the input field being determined by its visual width instead of the intended $maxLength value.

revoke avatar May 05 '25 03:05 revoke

I don't understand your language? Can U use English?

dakorpar avatar May 06 '25 11:05 dakorpar