mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Remove default maxlength value from text fields (#721)
Fixes #680. Originally meant to support the default length of a VARCHAR column in MySQL it has since been rendered more unhelpful than helpful given that the default length is not always 255 and the silent failure mode when copying and pasting content into the field is a detriment to user experience.
This commit is contained in:
parent
bee6fb95cc
commit
75e51fb801
@ -10,7 +10,6 @@
|
||||
placeholder="<?= e(trans($field->placeholder)) ?>"
|
||||
class="form-control"
|
||||
autocomplete="off"
|
||||
<?= $field->hasAttribute('maxlength') ? '' : 'maxlength="255"' ?>
|
||||
<?= $field->getAttributes() ?>
|
||||
/>
|
||||
<?php endif ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user