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.

Warning state in <b-form-input> does not change the form input

See original GitHub issue

Shouldn’t the warning state modify the visual part of an input form (an orange background for instance, or something like that)?

Tested on the following code (also a CodePen) :

<div id="root">
  <b-form-input v-model="myform" :state="mystate"></b-form-input>
</div>
new Vue ({
  el: "#root",
  data: {
    myform: "",
    mystate: "warning"
  }
})

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tmorehousecommented, Jul 1, 2017

You can also do this:

<b-form-fieldset state="warning">
0reactions
tmorehousecommented, Jul 4, 2017

For release v0.18.0 (coming out very soon), we’ll have clearer documentation on this, with examples.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Form Input | Components - BootstrapVue
When <b-form-input> has an invalid contextual state (i.e. state is false ) you may also want to set the <b-form-input> prop aria-invalid to...
Read more >
Bootstrap Vue Input State - Stack Overflow
Hi im trying to make a registration form. So when the user correctly inputs the correct detail it will display green check mark....
Read more >
Vue form input validation using watchers - LogRocket Blog
Perform form validation in Vue using the watch option. Watchers are a great way to respond to data changes in a given element....
Read more >
Form | Components | BootstrapVue - API Manual
Form controls within inline forms vary slightly from their default states. Controls are display: flex , collapsing any HTML white space and allowing...
Read more >
Developing a Single Page App with Flask and Vue.js
main.js, app entry point, which loads and initializes Vue along with the ... type="button" class="btn btn-warning btn-sm">Update</button> ...
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