I would like to check whether an optional parameter was provided or not (to render the control differently based on that)
I declared the parameter with these attributes:
of-type="SingleLine.Text" usage="bound" required="false"
How could I check in the Typescript code whether this Input parameter was bound or not?
I tried setting a variable in the Init method, like
this.myVariable = context.parameters.theParameter.raw || ""
But I didn't really see the value reflected, so not sure if Init method would be the right approach, or there is another way to obtain this metadata
Thanks,