Files
textual/docs/examples/widgets
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
..
2023-03-14 14:33:10 +00:00
2023-04-06 17:30:32 +01:00
2022-11-20 15:42:35 +00:00
2022-10-04 11:43:30 +01:00
2023-05-25 13:29:33 +01:00
2022-10-04 15:30:53 +01:00
2022-11-21 17:10:16 +00:00
2022-12-10 18:18:28 +00:00
2023-03-11 08:36:13 +00:00
2023-02-14 15:22:15 +00:00
2023-03-29 14:27:56 +01:00
2022-12-07 16:58:26 +00:00
2023-05-08 10:55:39 +01:00
2023-05-08 17:45:06 +01:00
2022-10-04 13:35:56 +01:00
2023-02-09 11:10:30 +00:00
2023-03-13 14:39:15 +00:00
2022-12-09 09:01:34 +00:00
2022-12-10 10:34:34 +00:00