File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ const props = {
23
23
vfjsFieldErrors : {
24
24
type : Array ,
25
25
} ,
26
+ vfjsFieldEventProp : {
27
+ type : String ,
28
+ } ,
26
29
vfjsFieldId : {
27
30
type : String ,
28
31
required : true ,
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ const data = () => ({
87
87
validateOnLoad : true ,
88
88
validateOnChange : true ,
89
89
valueProp : 'value' ,
90
+ eventProp : 'target.value' ,
90
91
} ,
91
92
vfjsSchema : { } ,
92
93
vfjsState : { } ,
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const vfjsHelpers = {
13
13
model : vfjsFieldModelKey = '' ,
14
14
required : vfjsFieldRequired = false ,
15
15
valueProp : vfjsFieldValueProp = this . vfjsOptions . valueProp ,
16
+ eventProp : vfjsFieldEventProp = this . vfjsOptions . eventProp ,
16
17
} = vfjsFieldUiSchema ;
17
18
18
19
const vfjsFieldSchema = this . getVfjsFieldSchema ( vfjsFieldModelKey ) || { } ;
@@ -57,6 +58,7 @@ const vfjsHelpers = {
57
58
vfjsFieldState,
58
59
vfjsFieldUiSchema,
59
60
vfjsFieldValueProp,
61
+ vfjsFieldEventProp,
60
62
vfjsModel,
61
63
vfjsState,
62
64
} ;
You can’t perform that action at this time.
0 commit comments