File tree Expand file tree Collapse file tree 6 files changed +4
-5
lines changed Expand file tree Collapse file tree 6 files changed +4
-5
lines changed Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ const props = defineProps({
7575})
7676const emit = defineEmits ([' dataSaved' ])
7777
78- const formData = defineModel ()
78+ const formData = defineModel < any > ()
7979
8080if (props .data ) {
8181 formData .value = props .data
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const props = defineProps({
2727 },
2828})
2929
30- const formData = defineModel ()
30+ const formData = defineModel < any > ()
3131
3232if (props .data ) {
3333 formData .value = props .data
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments