File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,18 @@ export const props = {
3636 type : Boolean ,
3737 default : true ,
3838 } ,
39- textColor : String ,
40- focusColor : String ,
41- blurColor : String ,
39+ textColor : {
40+ type : String ,
41+ default : '' ,
42+ } ,
43+ focusColor : {
44+ type : String ,
45+ default : '' ,
46+ } ,
47+ blurColor : {
48+ type : String ,
49+ default : '' ,
50+ } ,
4251 isError : Boolean ,
4352 formDisabled : Boolean ,
4453 disabled : Boolean ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export default defineComponent({
2626 name ,
2727 props ,
2828 setup(props , { emit }) {
29- const { length, inputOtpItems, bindInputOtpItem } = useInputOtpItems ()
29+ const { length, bindInputOtpItem } = useInputOtpItems ()
3030 const activeInput = ref ()
3131
3232 const model = computed ({
@@ -107,10 +107,9 @@ export default defineComponent({
107107
108108 return {
109109 length ,
110- inputOtpItems ,
110+ activeInput ,
111111 errorMessage ,
112112 n ,
113- activeInput ,
114113 reset ,
115114 validate ,
116115 }
You can’t perform that action at this time.
0 commit comments