We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
error
1 parent 5ad7dab commit a4d0ca7Copy full SHA for a4d0ca7
src/runtime/components/FormField.vue
@@ -18,7 +18,7 @@ export interface FormFieldProps {
18
label?: string
19
description?: string
20
help?: string
21
- error?: string | boolean
+ error?: boolean | string
22
hint?: string
23
/**
24
* @defaultValue 'md'
@@ -41,8 +41,8 @@ export interface FormFieldSlots {
41
hint(props: { hint?: string }): any
42
description(props: { description?: string }): any
43
help(props: { help?: string }): any
44
- error(props: { error?: string | boolean }): any
45
- default(props: { error?: string | boolean }): any
+ error(props: { error?: boolean | string }): any
+ default(props: { error?: boolean | string }): any
46
}
47
</script>
48
0 commit comments