props.ts 437 B

123456789101112131415161718
  1. import type { ClFormLabelPosition, ClFormRule, ClFormValidateError } from "../../types";
  2. export type ClFormPassThrough = {
  3. className?: string;
  4. };
  5. export type ClFormProps = {
  6. className?: string;
  7. pt?: ClFormPassThrough;
  8. modelValue?: any;
  9. rules?: Map<string, ClFormRule[]>;
  10. labelPosition?: ClFormLabelPosition;
  11. labelWidth?: string;
  12. showAsterisk?: boolean;
  13. showMessage?: boolean;
  14. disabled?: boolean;
  15. scrollToError?: boolean;
  16. };