Files
textual/docs/api
darrenburns 62fcefbd2d Validation (#2600)
* A few different types of validation

* Rename

* Fix test

* Updating validation framework

* Update lockfile

* Ensure validators can be None

* Reworking the API a little

* Convert Input.Changed to dataclass

* Add utility for getting failures as strings

* Update an example in Validator docstring

* Remove some redundant `pass`es

* Renaming variables

* Validating Input on submit, attaching result to Submitted event

* Testing various validation features

* Update snapshots and deps

* Styling unfocused -invalid Input differently

* Add snapshot test around input validation and associated styles

* Validation docs

* Tidying validation docs in Input widget reference

* Fix mypy issues

* Remove __bool__ from Failure, make validator field required

* Code review changes

* Improving error messages in Validators
2023-05-25 13:29:33 +01:00
..
2022-11-06 15:41:12 +00:00
2023-02-28 12:50:41 +00:00
2022-11-06 15:41:12 +00:00
2022-11-06 15:41:12 +00:00
2022-11-06 15:41:12 +00:00
2022-11-06 15:41:12 +00:00
2022-11-06 16:19:58 +00:00
2023-04-08 15:35:49 +01:00
2023-03-28 11:50:28 +01:00
2023-04-12 11:37:47 +01:00
2023-04-08 15:35:49 +01:00
2023-05-02 16:17:40 +01:00
2022-11-06 15:41:12 +00:00
2022-11-06 15:41:12 +00:00
2022-11-06 15:41:12 +00:00
2022-11-06 15:41:12 +00:00
2022-11-06 15:41:12 +00:00
2023-05-25 13:29:33 +01:00
2022-11-11 10:05:12 +00:00
2023-04-08 15:35:49 +01:00
2023-04-04 13:12:51 +01:00
2023-04-04 13:12:51 +01:00