diff --git a/README.md b/README.md index 23dd844..776a2a9 100644 --- a/README.md +++ b/README.md @@ -32,28 +32,28 @@ your form, just like in the original version of **WTForms HTML5**. ## Supported Auto–Attributes -- **required** +- **required** Is set if the field has the _required_ flag set. This happens i.e. if you use the _DataRequired_ or _InputRequired_ validator. The `required` attribute is used by browsers to indicate a required field (and most browsers won't activate the forms action unless all required fields have content). -- **invalid** +- **invalid** If the field got any validation errors, the CSS class _invalid_ is added. The `invalid` class is also set by browsers, if they detect errors on a field. The validation errors detected by your code, are then by default styled in the same way as browser generated errors. -- **min** / **max** and **minlength** / **maxlength** +- **min** / **max** and **minlength** / **maxlength** If either _Length_ or _NumberRange_ is used as a validator to set minimal and / or maximal values, the corresponding INPUT attribute is set (based on which validator is used). This allows for browser based validation of the values. -- **title** +- **title** If no _title_ is provided for a field, the _description_ (if one is set) is used for the `title` attribute. diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 32baecb..10623a7 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -56,7 +56,7 @@ tox==3.24.5 # via -r requirements/ci.in tqdm==4.66.3 # via twine twine==3.7.1 # via -r requirements/dev.in urllib3==1.26.19 # via requests -virtualenv==20.13.0 # via pre-commit, tox +virtualenv==20.26.6 # via pre-commit, tox webencodings==0.5.1 # via bleach werkzeug==2.0.2 # via -r requirements/tests.in wheel==0.38.1 # via pip-tools