We have defaults for switch display now, so no need to set the options explicitly.
parent
258c7f3589
commit
1ac16cbc0f
|
@ -110,12 +110,7 @@ function($, _, S, pgAdmin, pgBrowser, Backform, alertify) {
|
||||||
select2: { allowClear: false }
|
select2: { allowClear: false }
|
||||||
},{
|
},{
|
||||||
id: 'is_sys_object', label:'{{ _('System schema?') }}',
|
id: 'is_sys_object', label:'{{ _('System schema?') }}',
|
||||||
cell: 'switch', type: 'switch', mode: ['properties'], disabled: true,
|
cell: 'switch', type: 'switch', mode: ['properties'], disabled: true
|
||||||
options: {
|
|
||||||
'onText': 'Yes', 'offText': 'No',
|
|
||||||
'onColor': 'success', 'offColor': 'primary',
|
|
||||||
'size': 'small'
|
|
||||||
}
|
|
||||||
},{
|
},{
|
||||||
id: 'description', label:'{{ _('Comment') }}', cell: 'string',
|
id: 'description', label:'{{ _('Comment') }}', cell: 'string',
|
||||||
type: 'multiline'
|
type: 'multiline'
|
||||||
|
|
Loading…
Reference in New Issue