Add "superlazy" mode to QInput
See original GitHub issueIs your feature request related to a problem? Please describe.
I want QInput to only run validation when I manually call validate()
. (for context, I call validate
when the user clicks “next” in a form. I don’t want to alert them before that)
Describe the solution you’d like
A prop a bit like lazy-rules
but that makes the validation not even run on losing focus
Describe alternatives you’ve considered Just now I tried adding this
<q-input
...
ref="qinput"
lazy-rules
:rules="[...]"
@blur="$refs.qinput.resetValidation()"
></q-input>
and it seems to work but it’s pretty hacky and feels likely to break.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Input | Quasar Framework
The QInput component is used to capture text input from the user. It uses v-model , similar to a regular input. It has...
Read more >AI Battles require manual input - Mortal Kombat 11 - GameFAQs
For Mortal Kombat 11 on the PlayStation 4, a GameFAQs message board topic titled "AI Battles require manual input".
Read more >Adventures are super lazy and either need to be reworked or ...
Reusing locations is fine, but adding multiple returns in a single adventure to "fill out" the time to an hour or so is...
Read more >Writing your own 2D Pixel Shader in Monogame for Absolute ...
The first thing we'll want to do add our texture to our project. Go ahead and add the texture you chose to the...
Read more >Houdini - cgwiki
Easy. Create a multiply node; Create a constant node, float mode, set its value to 0.002; Connect the global frame attribute to first...
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
Enhancement will be available in “quasar” v1.11.0. Like told above,
lazy-rules
will also support theondemand
String value for the superlazy behavior.I think the way to go is to add one more possible value for lazy-rules. Example:
lazy-rules="ondemand"