Development

This commit is contained in:
Matthew Grotke 2026-05-29 22:26:30 -04:00
parent aff93abf5f
commit 8f377b1839
2 changed files with 31 additions and 3 deletions

View file

@ -456,7 +456,8 @@ JS-driven table where the user can add, edit, and remove rows. Submits as a JSON
{
"type": "readonly_select",
"label?": "Gateway",
"name?": "gateway"
"name?": "gateway",
"hint?": "Helper text shown below the select."
}
```
Disabled `<select>` placeholder shown while dependent data is loading. JS replaces it with real options once identities are available.
@ -470,7 +471,8 @@ Disabled `<select>` placeholder shown while dependent data is loading. JS replac
"label": "Custom Rules",
"name": "custom_rules",
"override_name?": "custom_rules_override",
"validate?": "ip_in_subnet"
"validate?": "ip_in_subnet",
"hint?": "Helper text shown below the textarea."
}
```
Read-only textarea with an "Override" checkbox. Checking the box enables editing. `override_name` is the checkbox's `name` attribute and defaults to `{name}_override`.