Skip to content

Commit 109683c

Browse files
committed
fix: Typescript Errors
1 parent 8d72649 commit 109683c

File tree

6 files changed

+4
-5
lines changed

6 files changed

+4
-5
lines changed

dev/pages/inputs/InputText.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const schema
1414
{
1515
$formkit: 'primeInputText',
1616
name: 'telephone',
17+
placeholder: 'telephone',
1718
help: 'Input Type: tel',
1819
label: 'Telephone',
1920
inputType: 'tel',

dev/pages/inputs/Textarea.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const schema
66
$formkit: 'primeTextarea',
77
id: 'basic',
88
name: 'name',
9+
placeholder: 'Basic',
910
label: 'Basic',
1011
help: 'Required.',
1112
validation: 'required',

src/components/FormKitDataEdit.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const props = defineProps({
7575
})
7676
const emit = defineEmits(['dataSaved'])
7777
78-
const formData = defineModel()
78+
const formData = defineModel<any>()
7979
8080
if (props.data) {
8181
formData.value = props.data

src/components/FormKitDataView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const props = defineProps({
2727
},
2828
})
2929
30-
const formData = defineModel()
30+
const formData = defineModel<any>()
3131
3232
if (props.data) {
3333
formData.value = props.data

src/components/PrimeInputText.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export interface FormKitPrimeInputTextProps {
1111
pt?: InputTextProps['pt']
1212
ptOptions?: InputTextProps['ptOptions']
1313
unstyled?: InputTextProps['unstyled']
14-
placeholder?: InputTextProps['placeholder']
1514
size?: InputTextProps['size']
1615
inputType?: string | undefined
1716
}

src/components/PrimeTextarea.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export interface FormKitPrimeTextareaProps {
1010
ptOptions?: TextareaProps['ptOptions']
1111
unstyled?: TextareaProps['unstyled']
1212
autoResize?: TextareaProps['autoResize']
13-
placeholder?: TextareaProps['placeholder']
14-
rows?: TextareaProps['rows']
1513
size?: TextareaProps['size']
1614
1715
}

0 commit comments

Comments
 (0)