Feature request: required prop on <Label>, <FormField> components

It’d be great if there was a required?: boolean field on the <Label>, <FormField> components in the apps sdk. When set to true, this would add a red asterisk like the one seen here:

Screenshot 2021-11-28 at 13.46.31

2 Likes

I agree. I was just thinking about this the other day, but for Scripting app scripts that use input.config() to provide user-configurable settings. It would be nice if some settings could be required and others be optional.

On a similar note, it would be helpful if certain settings in Scripting apps could be conditional based on others. For example, if a input.config.select option was a specific choice, show a field selector; otherwise that field selection would remain hidden and would not be required before the script runs.

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.