Skip to content

Commit 9566b33

Browse files
committed
no need to return text in getValue for v-model select (fix #3729)
1 parent 9fb1057 commit 9566b33

File tree

1 file changed

+1
-1
lines changed
  • src/platforms/web/runtime/directives

1 file changed

+1
-1
lines changed

src/platforms/web/runtime/directives/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function hasNoMatchingOption (value, options) {
109109
function getValue (option) {
110110
return '_value' in option
111111
? option._value
112-
: option.value || option.text
112+
: option.value
113113
}
114114

115115
function onCompositionStart (e) {

0 commit comments

Comments
 (0)