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.

Linear progress should not use v-model

See original GitHub issue

v-model should be used for two-way bindings. I don’t see any way a progress bar can receive input from user. A simple property (probably named “value”) should be used instead.

(semver breaking change)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
cawa-93commented, Jun 22, 2017

@ishitatsuyuki Partially I agree with you. The component does not emit an event input. And the use of v-model expects this, though not necessarily. Using v-model creates a bi-directional binding. Thus, this can be a bit confusing, because if you do not look at the source code of the component, it is not clear in which case the component can change your data.

On the other hand, the use of v-model is more universal.

  1. This will preserve backwards compatibility, if in the future the component will emit the input event.
  2. The v-model is used for all other components. Let it be standardized.
0reactions
lock[bot]commented, Apr 16, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

Read more comments on GitHub >

github_iconTop Results From Across the Web

Progress linear component — Vuetify
In its simplest form, v-progress-linear displays a horizontal progress bar. Use the value prop to control the progress.
Read more >
vuetify show "v-progress-linear" while another function is ...
however, my "v-progress-linear" is always executed after the loop, even when I initiate it in the editorRun() before executing the loop. How do...
Read more >
Clicking on v-progress-linear changes the value : r/vuetifyjs
I have a progress bar defined like this: ... I've tried putting an empty `@click.prevent` on it but that doesn't do anything.
Read more >
Vuetify Progress Linear: How to Create Horizontal Progress Bars
Progress Linear v -model. We can set up a two-way binding between the value of the progress bar and a variable using v-model...
Read more >
Progress linear component — Vuetify.js
The v-progress-linear component is used to convey data visually to users. They can also represent an indeterminate amount, such as loading or processing....
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