Warning state in <b-form-input> does not change the form input
See original GitHub issueShouldn’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:
- Created 6 years ago
- Comments:10 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can also do this:
For release v0.18.0 (coming out very soon), we’ll have clearer documentation on this, with examples.