We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6005807 commit 930c7f0Copy full SHA for 930c7f0
src/directives/model/select.js
@@ -143,7 +143,7 @@ function buildOptions (parent, options) {
143
op = options[i]
144
if (!op.options) {
145
el = document.createElement('option')
146
- if (typeof op === 'string') {
+ if (typeof op === 'string' || typeof op === 'number') {
147
el.text = el.value = op
148
} else {
149
if (op.value != null && !_.isObject(op.value)) {
0 commit comments