question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

type="number" doesn't seem to be supported?

See original GitHub issue

It seems like input with type number is supported.

Looks like it’s due to the following bootstrap-vue/components/form-input.vue?

props: {
            value: {
                type: String,
                default: null
            },

For example, here’s what I have

<b-form-input v-model="pPrice"
      type="number"
      label="Product Price"
 />

data () {
  return {
    pPrice: 0
  }
}

The error message I got screen shot 2017-01-07 at 8 33 06 pm

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
riker09commented, Feb 3, 2017

According to the Vue docs multiple types should be possible. I’m preparing a PR. 😃

1reaction
mathlet0xcommented, Jan 17, 2017

Sure 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML5 input type number not working in firefox - Stack Overflow
The input type number is not supported yet in Firefox or IE9 (almost in IE10), so it will revert to input type text...
Read more >
<input type="number"> - HTML: HyperText Markup Language
<input> elements of type number are used to let the user enter a number. They include built-in validation to reject non-numerical entries.
Read more >
Why the number input is the worst input - Stack Overflow Blog
Chances are likely that you used the input type="number ” because you expected an integer to represent age or quantity. However, the number ......
Read more >
You probably don't need input type=“number” - CSS-Tricks
Last week I got a call from my bank regarding a wire transfer I had just scheduled. The customer support guy had me...
Read more >
Number input type | Can I use... Support tables for HTML5 ...
2 UI widget does not take the "step", "min" or "max" attributes into account. 3 Firefox doesn't support autocomplete content via datalist elements....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found