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.

q-toggle @update not working

See original GitHub issue

What happened?

Having this doc: https://quasar.dev/vue-components/toggle

The q-toggle is not working as expected. the event @update is not triggered. https://jsfiddle.net/3dr6n0qv/

What did you expect to happen?

working @update event

Reproduction URL

https://jsfiddle.net/3dr6n0qv/

How to reproduce?

Click toggle

Flavour

Quasar CLI (@quasar/cli | @quasar/app)

Areas

Components (quasar)

Platforms/Browsers

Other

Quasar info output

No response

Relevant log output

No response

Additional context

No response

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
fairkingcommented, Feb 13, 2022

Comparing the code against f7 or even ionic I can see the Quasar is more mature and focused on vue only 👍. Thanks.

1reaction
gregadrocommented, Feb 13, 2022

There is no such event with that name. The correct event name is @update:model-value, also seen from the code snippet above. So in your CodePen you should use @update:model-value="onUpdate".

Read more comments on GitHub >

github_iconTop Results From Across the Web

QToggle "on change" event | Quasar Framework Community
When one toggle change his value i want to call a method that will update that record/status on the database. What toogle event...
Read more >
Sidebar toggle button doesn't work after update - Stack Overflow
After updating packages to the newest versions, sidebar toggle button has disappeared. It's not displayed properly (there should be 3 ...
Read more >
Toggle - Quasar Framework
The QToggle component is a basic element for user input. You can use it for turning settings, features or true/false inputs on and...
Read more >
Big Time Problems with Rane One Manual / Toggle Effects ...
none of the toggles are working on Manual effects anymore!! and the time jumps from 2 to 1/8 , big midi problems, please...
Read more >
Solved: Patching inside gallery with toggle control update...
I even tried with a dropdown or other controls to check if the problem were the gallery or the control itself, but it...
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