Set error on number field and prevent form from being submitted (#11637)
<img width="943" alt="Capture d’écran 2025-04-17 à 18 14 46" src="https://github.com/user-attachments/assets/1208075e-937f-4224-886c-be578264d448" />
This commit is contained in:
@ -23,7 +23,7 @@ export const CmdEnterActionButton = ({
|
||||
return (
|
||||
<Button
|
||||
title={title}
|
||||
variant="primary"
|
||||
variant={disabled ? 'secondary' : 'primary'}
|
||||
accent="blue"
|
||||
size="medium"
|
||||
onClick={onClick}
|
||||
|
||||
Reference in New Issue
Block a user