File

A reusable validation component for single file upload with integrated error handling

Examples

Basic usage

Properties

Name Type Required Description
@validationField string Yes The field name in the changeset for validation
@changeset ImmerChangeset Yes The changeset object for form validation
@label string No The label for the input field
@disabled boolean No Whether the input field is disabled
@mandatory boolean No Whether the file field is mandatory
@onChange function No The action to be called when the file selection changes
@changeEvent string No The event to trigger the onChange action