Files
textual/tests
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-05-01 16:22:35 +01:00
2023-04-20 17:09:39 +01:00
2023-05-25 13:29:33 +01:00
2023-05-25 13:29:33 +01:00
2023-05-17 10:27:57 +01:00
2021-07-05 20:37:54 +01:00
2023-05-17 10:27:57 +01:00
2022-10-29 10:03:26 +01:00
2023-05-08 10:55:39 +01:00
2023-04-16 12:31:39 +01:00
2023-04-06 17:30:32 +01:00
2023-04-24 09:33:15 +01:00
eof
2021-08-31 17:53:41 +01:00
2023-03-09 15:38:31 +00:00
2023-01-26 16:10:13 +01:00
2023-05-25 13:29:33 +01:00
2023-03-28 15:45:40 +01:00
2022-10-13 11:15:15 +01:00
2022-10-22 17:35:11 +01:00
2023-05-22 13:53:58 +01:00
2023-01-19 14:18:40 +00:00
2023-05-08 10:55:39 +01:00
2023-01-17 15:19:40 +00:00
2023-04-19 13:24:31 +01:00
2023-05-17 10:27:57 +01:00
2022-07-29 10:28:50 +01:00
2023-05-17 10:27:57 +01:00
2023-03-28 15:45:40 +01:00
2023-05-01 16:57:40 +01:00
2023-05-17 11:15:56 +01:00
2023-05-23 11:32:40 +01:00
2023-05-08 10:55:39 +01:00
2023-04-19 13:24:31 +01:00
2023-01-17 10:29:19 +00:00
2023-04-16 12:31:39 +01:00
2023-02-13 15:09:40 +00:00
2023-05-25 13:29:33 +01:00
2023-01-18 14:51:50 +00:00
2023-02-13 15:09:40 +00:00
2023-02-13 15:09:40 +00:00
2023-02-13 15:09:40 +00:00
2023-04-04 13:12:51 +01:00
2023-04-04 13:12:51 +01:00
2023-04-04 13:12:51 +01:00