Added Heading component for Form Sections

This commit is contained in:
adro 2023-11-03 17:59:03 +01:00
parent 55bdaf915c
commit e5b7bfeacb
3 changed files with 18 additions and 0 deletions

View file

@ -25,6 +25,7 @@ function genSP(indexIsChar: boolean): SearchProvider {
<NicerForm :fields="{
Single: { is: 'SingleSelect', label: 'SingleSelect', props: { options: testValues, searchProvider: genSP(true) } },
Multiple: { is: 'MultiSelect', label: 'Multiselect', props: { options: testValues, searchProvider: genSP(false) } },
adv: { is: 'Heading', props: { caption: 'Subsection' } },
IP: { is: 'EnumInput', label: 'IP Address', props: { variants: {
'dhcp': { display: 'DHCP' },
'static-ipv4': {