I would like to add a single validation to a component . Basically stating that a required field cannot be null..
Discussion posts and replies are publicly visible
Your component will have a 'Required' field, which you can set to true (e.g. a!textField(label: "My Field", value: ri!textValue, saveInto: ri!textValue, required: true). This will throw a validation message to the user 'a value field is required' if the user tries to submit the form without providing a value in the field.