mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
FIx form dropdowns show the first 3 options only
This commit is contained in:
parent
fe3d2f0331
commit
c4d05c9f6c
1 changed files with 2 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ export function generateUIComponents(JSONSchema, advanced, componentName = '') {
|
|||
uiComponentsDraft[index * 2 + 1]['definition']['properties']['display_values'] = value?.displayValues;
|
||||
if (value?.label) uiComponentsDraft[index * 2 + 1]['definition']['properties']['label'] = value?.label;
|
||||
if (value?.value) uiComponentsDraft[index * 2 + 1]['definition']['properties']['value'] = value?.value;
|
||||
if (value?.values) uiComponentsDraft[index * 2 + 1]['definition']['properties']['value'] = value?.values;
|
||||
if (value?.values) uiComponentsDraft[index * 2 + 1]['definition']['properties']['values'] = value?.values;
|
||||
if (value?.loading)
|
||||
uiComponentsDraft[index * 2 + 1]['definition']['properties']['loadingState'] = value?.loading;
|
||||
break;
|
||||
|
|
@ -363,7 +363,7 @@ export function generateUIComponents(JSONSchema, advanced, componentName = '') {
|
|||
uiComponentsDraft[index * 2 + 1]['definition']['properties']['display_values'] = value?.displayValues;
|
||||
if (value?.label) uiComponentsDraft[index * 2 + 1]['definition']['properties']['label'] = value?.label;
|
||||
if (value?.value) uiComponentsDraft[index * 2 + 1]['definition']['properties']['value'] = value?.value;
|
||||
if (value?.values) uiComponentsDraft[index * 2 + 1]['definition']['properties']['value'] = value?.values;
|
||||
if (value?.values) uiComponentsDraft[index * 2 + 1]['definition']['properties']['values'] = value?.values;
|
||||
if (value?.showAllOption)
|
||||
uiComponentsDraft[index * 2 + 1]['definition']['properties']['showAllOption'] = value?.showAllOption;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue