TextBox: Data-type validation for max chars (fixes #18817) (#20843)

* configure max chars for textbox

* min 1

* Adds server-side check for text box min and max character validation.

* Applied suggestion from code review.

* Bumped version of test helper

* Fixed test that was creating a text string data type with too large a maximum characters setting.

---------

Co-authored-by: Andy Butland <abutland73@gmail.com>
Co-authored-by: Nhu Dinh <hnd@umbraco.dk>
This commit is contained in:
Niels Lyngsø
2025-11-18 08:16:59 +01:00
committed by GitHub
parent 92b5d11c95
commit c1b3f41f7c
7 changed files with 135 additions and 14 deletions

View File

@@ -23,7 +23,7 @@
},
"dependencies": {
"@umbraco/json-models-builders": "^2.0.42",
"@umbraco/playwright-testhelpers": "^17.0.8",
"@umbraco/playwright-testhelpers": "^17.0.9",
"camelize": "^1.0.0",
"dotenv": "^16.3.1",
"node-fetch": "^2.6.7"