Set 'required' for ImageInput and Signature components

Can you add the feature for the Image Input and Signature to have the 'required' button (to restrict the submit in a form) like in the other components?

Great request—filed!

In the meantime, I do have a quick workaround for you.

  1. Add * at the end of your Signature and Image Input labels (this is hacky, but it looks the same as the other components, which is quite convenient :sweat_smile:)
  2. Remove the default form submit button (because it doesn't come with a "Disabled" field)
  3. Add a Button component at the bottom of the form to serve as your new submit button
  4. Disable the button if either or both of the Signature or Image Input components are empty: {{ !signature1.value || !imageInput1.value.length }}
  5. Let me know how this works for you! :crossed_fingers: