Closed stevejpurves closed 2 years ago
My take on required is that it is provided, not necessarily true? If the option is always true, not much of an option. :)
For booleans I can see that this doesn't make much sense. There could be three states in the UI I suppose, undefined, false, true. Similar to JavaScript.
yeah, it's how the UI interprets the required flag - at the moment that is interpreted as the user must supply an answer, rather than the field must be set on the response but boolean it the case that is strange. Just going to remove required from the template for now.
Currently, the SPIE template has the option
type: boolean
andrequired: true
which is permitted by our schema but doesn't make sense. As it would require the setting to betrue
always 🤔