Hello,
I have a text field component and need to change the validation dynamically based on selection drop down.
Could you please provide inputs as how to resolve it.
I . We can get the component details using guidebridge using
let text_component =guideBridge.resolveNode("text_input_component");
2.noticed that displayPictureClause is used for validation.
How to set it
I can get the current value set by doing
text_component.displayPictureClause
But my requirement is I would want to set it dynamically.
by doing text_component.displayPictureClause="regex expression"
does not work.
3> I would want to set the validatePictureClauseMessage also dynamically