fix(ui): slider number input field with limits (#2899)
- Added min, max, and step fields to the input field of a slider - Made the input field a number field to apply min, max, step, and accessibility
This commit is contained in:
parent
316fe72ea5
commit
82f81dc154
@ -41,9 +41,12 @@
|
||||
<input
|
||||
ref="value"
|
||||
:value="currentValue"
|
||||
type="text"
|
||||
type="number"
|
||||
class="slider-input"
|
||||
:disabled="disabled"
|
||||
:min="min"
|
||||
:max="max"
|
||||
:step="step"
|
||||
@change="onInput(($event.target as HTMLInputElement).value)"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user