Good practices:
password
, number
, email
, search
, url
, …)..tlp-form-element-disabled
and disabled
attribute.required
attribute and add <i class="fa fa-asterisk"></i>
in the label..tlp-form-element-error
.width: 100%
. You can override this by setting a custom width in css or by adding:
size
attribute on inputs when it makes sens (e.g. size="4"
for a year)cols
attribute on textareas when it makes sens (you can also play with rows
attribute).tlp-select-adjusted
class on selects and multi-selects