We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code:
render(h) { return <input type="range" v-model={this.opacity}/>; },
fails with:
Module build failed (from ../node_modules/babel-loader/lib/index.js): Cannot read property 'toLowerCase' of undefined
whereas replacing type="range" with type="number" works fine.
type="range"
type="number"
The text was updated successfully, but these errors were encountered:
This is very weird cause we have working tests for input[type="range"] vModel in tests..., can you create a reproduction?
input[type="range"] vModel
Sorry, something went wrong.
I can confirm this is still happening.
Workaround: <input type="range" value={this.opacity} onInput={(e) => { this.opacity = e.target.value }} />
<input type="range" value={this.opacity} onInput={(e) => { this.opacity = e.target.value }} />
(tbh, i've been moving away from vModel anyway, I like the control you get with onInput (ie: maybe you don't want the value to be a string...)
No branches or pull requests
The following code:
fails with:
whereas replacing
type="range"
withtype="number"
works fine.The text was updated successfully, but these errors were encountered: