From 18dd4e95bd3e295e6cada5d8ab0631b6fa81af82 Mon Sep 17 00:00:00 2001 From: Renaud Michotte Date: Thu, 13 Feb 2020 13:57:29 +0100 Subject: [PATCH] documents: update schemas about abstract field * Updates JSON schemas to allow abstract fields to be edited as a textarea. Co-Authored-by: Renaud Michotte --- .../documents/document-minimal-v0.0.1_src.json | 8 +++++++- .../jsonschemas/documents/document-v0.0.1_src.json | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/rero_ils/modules/documents/jsonschemas/documents/document-minimal-v0.0.1_src.json b/rero_ils/modules/documents/jsonschemas/documents/document-minimal-v0.0.1_src.json index 3b421b2b84..6141b7347f 100644 --- a/rero_ils/modules/documents/jsonschemas/documents/document-minimal-v0.0.1_src.json +++ b/rero_ils/modules/documents/jsonschemas/documents/document-minimal-v0.0.1_src.json @@ -636,7 +636,13 @@ "items": { "title": "Abstract", "type": "string", - "minLength": 2 + "minLength": 2, + "form": { + "type": "textarea", + "templateOptions": { + "rows": 5 + } + } }, "form": { "hide": true diff --git a/rero_ils/modules/documents/jsonschemas/documents/document-v0.0.1_src.json b/rero_ils/modules/documents/jsonschemas/documents/document-v0.0.1_src.json index 949ebf4301..46d17f32f1 100644 --- a/rero_ils/modules/documents/jsonschemas/documents/document-v0.0.1_src.json +++ b/rero_ils/modules/documents/jsonschemas/documents/document-v0.0.1_src.json @@ -636,7 +636,13 @@ "items": { "title": "Abstract", "type": "string", - "minLength": 2 + "minLength": 2, + "form": { + "type": "textarea", + "templateOptions": { + "rows": 5 + } + } }, "form": { "hide": true