From c9fb26ad9a015d8ffdabc4f34190aaa265664fe9 Mon Sep 17 00:00:00 2001
From: mx <mx@suroh.tk>
Date: Thu, 20 Mar 2025 08:32:32 +0100
Subject: [PATCH] Change date field in CV schema to unformatted text

---
 .mattrbld/schemas/cv.json | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/.mattrbld/schemas/cv.json b/.mattrbld/schemas/cv.json
index 1e99a65..e187fb8 100644
--- a/.mattrbld/schemas/cv.json
+++ b/.mattrbld/schemas/cv.json
@@ -392,35 +392,34 @@
                       },
                       "value": [
                         {
-                          "type": "date",
+                          "type": "text",
                           "default": null,
-                          "icon": "calendar",
+                          "icon": "text-input",
                           "key": "date",
                           "label": "date",
                           "options": {
-                            "outputFormat": "iso",
-                            "removable": true,
-                            "showTime": false,
-                            "defaultToNow": false,
-                            "useAsUpdatedAt": false,
-                            "only": null
+                            "wrapping": true,
+                            "multiline": false
                           },
                           "tab": "Experience",
                           "validation": {
+                            "enforceMinMax": true,
                             "max": null,
                             "min": null,
+                            "regex": null,
+                            "regexError": null,
                             "required": false,
-                            "unit": "date",
-                            "isString": true
+                            "unit": "length"
                           },
                           "value": null,
-                          "version": 2,
+                          "version": 1,
                           "visibility": {
                             "hidden": false,
                             "showByValue": {
                               "field": null
                             }
-                          }
+                          },
+                          "localised": false
                         }
                       ],
                       "version": 1,