Skip to content

Commit

Permalink
🖋️ immutable fields docsw (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-cvit authored Sep 19, 2024
1 parent 2d259b6 commit dfe27bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/docs/templates/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. <br/> 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) |

0 comments on commit dfe27bf

Please sign in to comment.