mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
bug fixed : element inside values other than boolean type was resulting to a warning in debugger (#5765)
This commit is contained in:
parent
668078532b
commit
20a098ec19
1 changed files with 5 additions and 2 deletions
|
|
@ -1482,14 +1482,17 @@ export const widgets = [
|
|||
type: 'code',
|
||||
displayName: 'Default value',
|
||||
validation: {
|
||||
schema: { type: 'boolean' },
|
||||
schema: { type: 'union', schemas: [{ type: 'string' }, { type: 'number' }, { type: 'boolean' }] },
|
||||
},
|
||||
},
|
||||
values: {
|
||||
type: 'code',
|
||||
displayName: 'Option values',
|
||||
validation: {
|
||||
schema: { type: 'array', element: { type: 'boolean' } },
|
||||
schema: {
|
||||
type: 'array',
|
||||
element: { type: 'union', schemas: [{ type: 'string' }, { type: 'number' }, { type: 'boolean' }] },
|
||||
},
|
||||
},
|
||||
},
|
||||
display_values: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue