Using the snapshot from 22 April, I have had an issue today where cycling through the FormItems on a DynamicForm, unless setRequred is set explicitly I get a null pointer exception when accessing getRequired(). So for say a ComboxboxItem unless setRequred(false) is set (or setRequired(true)) then the following gives a null pointer exception.
I wonder if others can reproduce.
Code:
for (FormItem formItem : dynamicForm.getFields()) { System.out.println("FormItem = " + formItem.getTitle()); if (formItem.getRequired()) { System.out.println("Required = " + formItem.getTitle()); } }
Comment