mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-01 13:36:55 +08:00
fixed(input-number): button in from ,the type will submit when type not set
This commit is contained in:
parent
8955d36127
commit
7306683ba9
@ -7,6 +7,7 @@
|
||||
}"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="n-input-number__minus-button"
|
||||
:class="{
|
||||
[`n-input-bumber__button--disabled`]: value !== null && safeMin !== null && value <= safeMin
|
||||
@ -24,6 +25,7 @@
|
||||
@keyup.enter="handleBlurOrEnter"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="n-input-number__add-button"
|
||||
:class="{
|
||||
[`n-input-bumber__button--disabled`]: value !== null && safeMax !== null && value >= safeMax
|
||||
|
Loading…
Reference in New Issue
Block a user