From dfe27bf3c8cae0db57c2ef75c0fb8be5de0286fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20Cvitanovi=C4=87?= <72022639+petar-cvit@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:41:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=8B=EF=B8=8F=20immutable=20fields=20do?= =?UTF-8?q?csw=20(#579)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/docs/templates/templates.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/docs/templates/templates.md b/web/docs/templates/templates.md index 5a28a1a1..76f30770 100644 --- a/web/docs/templates/templates.md +++ b/web/docs/templates/templates.md @@ -17,6 +17,8 @@ You can find a list of all the fields you can set below for each field type. In addition to the usual schema, we added more fields to help our users get as much from the UI as possible. | Name | Type | Description | Valid input | -| :-------------- | ------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | +|:----------------|--------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------| | `order` | string array | Defines the order of the fields in an object type property.
Each time you use `properties`, you should also define the order of those properties | - | | `fileExtension` | string | Sometimes, you would like your text field not just to be a field but also to get some highlighting based on the type of string you are saving. You can specify that in this field | `text`, `sh`, `json`, `yaml`, `toml`, `javascript`, `typescript` | +| `immutable` | boolean | If `true`, the field can't be updated through the UI when __editing__ a module. Can be edited when the Module is first created or via manifest in the cluster. | `true`, `false` (`false` by default) | +