dynamic-forms / Interface

FieldMeta

Base interface for native HTML attributes that can be passed to form field elements.

This interface serves as the base type for all meta attributes. Specific field types (like input, textarea) extend this with their own specialized meta types.

Example usage

// Using FieldMeta for custom attributes
meta: {
  'data-testid': 'email-input',
  'aria-describedby': 'email-help',
  'x-custom': 'value'
}