Make variables editable
Dedale gives the possibility to replace variables by real data to preview your template.To be able to make react Props editable from variables panel, you have to use
setupVariableControls like this:
To learn more about
setupVariableControls you can learn the dedicated API documentationEnsure React component’s
props are matching configured variables otherwise TypeScript will raise an issueUsage of variables panel to change values
A: Generate random value for all fields. Learn more about how it works in API referenceB: Corresponding to
label in setupVariableControlsC: Corresponding to
description in setupVariableControlsD: Input to modify variable value