We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19bc081 commit 9ffd3faCopy full SHA for 9ffd3fa
src/Input/Input.tsx
@@ -327,10 +327,10 @@ export const Input = ({
327
ref={inputRef}
328
/>
329
<span className='input-group-text align-buttons flex-column'>
330
- <button className='input-number-add' onClick={() => clickIncrDecr(1)}>
+ <button type='button' className='input-number-add' onClick={() => clickIncrDecr(1)}>
331
<span className='visually-hidden'>{incrementLabel || ''}</span>
332
</button>
333
- <button className='input-number-sub' onClick={() => clickIncrDecr(-1)}>
+ <button type='button' className='input-number-sub' onClick={() => clickIncrDecr(-1)}>
334
<span className='visually-hidden'>{decrementLabel || ''}</span>
335
336
</span>
0 commit comments