AnsweredAssumed Answered

Make widget settings fields required?

Question asked by ktkemp on Apr 11, 2018
Latest reply on Apr 11, 2018 by rscheitlin

Is there a way to make fields required on the settings panel for a custom Web AppBuilder widget?  My widget needs a few text values entered in its settings in order to function correctly.  I can add a dojo validator, and it will highlight the field if I type invalid data, but I can still close the settings panel and save the widget settings in an invalid state.  I have also marked the fields as required="true" but I can close the settings panel without entering them.

 

Is there a way to make fields required in the widgets settings panel?

Outcomes