mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
Fix for dropdown to use dynamic variables
This commit is contained in:
parent
35a7cc3d60
commit
35aa8294b7
1 changed files with 2 additions and 2 deletions
|
|
@ -20,13 +20,13 @@ export const DropDown = function DropDown({
|
|||
let parsedValues = values;
|
||||
|
||||
try {
|
||||
parsedValues = JSON.parse(values);
|
||||
parsedValues = resolveReferences(values, currentState, []);
|
||||
} catch (err) { console.log(err); }
|
||||
|
||||
let parsedDisplayValues = displayValues;
|
||||
|
||||
try {
|
||||
parsedDisplayValues = JSON.parse(displayValues);
|
||||
parsedDisplayValues = resolveReferences(displayValues, currentState, []);
|
||||
} catch (err) { console.log(err); }
|
||||
|
||||
let selectOptions = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue