@@ -102,7 +102,6 @@ export const formTextMixin = Vue.extend({
102
102
} ,
103
103
watch : {
104
104
[ MODEL_PROP_NAME ] ( newValue ) {
105
- console . log ( 'form-text: watch value' , newValue )
106
105
const stringifyValue = toString ( newValue )
107
106
const modifiedValue = this . modifyValue ( newValue )
108
107
if ( stringifyValue !== this . localValue || modifiedValue !== this . vModelValue ) {
@@ -150,7 +149,6 @@ export const formTextMixin = Vue.extend({
150
149
return value
151
150
} ,
152
151
updateValue ( value , force = false ) {
153
- console . log ( 'form-text: updateValue' , value )
154
152
const { lazy } = this
155
153
if ( lazy && ! force ) {
156
154
return
@@ -198,9 +196,8 @@ export const formTextMixin = Vue.extend({
198
196
if ( event . target . composing ) {
199
197
return
200
198
}
201
- const { value } = event . target
199
+ const value = event . target . value
202
200
const formattedValue = this . formatValue ( value , event )
203
- console . log ( 'form-text: onInput' , formattedValue )
204
201
// Exit when the `formatter` function strictly returned `false`
205
202
// or prevented the input event
206
203
/* istanbul ignore next */
@@ -213,9 +210,8 @@ export const formTextMixin = Vue.extend({
213
210
this . $emit ( EVENT_NAME_INPUT , formattedValue )
214
211
} ,
215
212
onChange ( event ) {
216
- const { value } = event . target
213
+ const value = event . target . value
217
214
const formattedValue = this . formatValue ( value , event )
218
- console . log ( 'form-text: onChange' , formattedValue )
219
215
// Exit when the `formatter` function strictly returned `false`
220
216
// or prevented the input event
221
217
/* istanbul ignore next */
@@ -230,9 +226,8 @@ export const formTextMixin = Vue.extend({
230
226
onBlur ( event ) {
231
227
// Apply the `localValue` on blur to prevent cursor jumps
232
228
// on mobile browsers (e.g. caused by autocomplete)
233
- const { value } = event . target
229
+ const value = event . target . value
234
230
const formattedValue = this . formatValue ( value , event , true )
235
- console . log ( 'form-text: onBlur' , formattedValue )
236
231
if ( formattedValue !== false ) {
237
232
// We need to use the modified value here to apply the
238
233
// `.trim` and `.number` modifiers properly
0 commit comments