feat(cabana): add mltextarea field type

- mltextarea compiles (with size), binds as a writable scalar and goes
  through the mltext lift, translation write and hydrate paths
- preset on or from an mltextarea field stays refused
- tests: compile, Postgres round trip over a nullable host column with
  multi-line text, invalid locale maps, preset refusals
This commit is contained in:
Jakub Zych
2026-10-06 21:30:56 +02:00
parent 673c6ca82c
commit 3596df4ff5
6 changed files with 223 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ var (
"switch": {}, "dropdown": {}, "relation": {}, "relation-manager": {},
"widget": {}, "partial": {}, "fileupload": {}, "datepicker": {},
"password": {}, "permissioneditor": {},
"markdown": {}, "mltext": {}, "mlmarkdown": {},
"markdown": {}, "mltext": {}, "mltextarea": {}, "mlmarkdown": {},
}
formSpans = map[string]struct{}{
"left": {}, "right": {}, "full": {}, "auto": {}, "row": {},