refactor(forms): simplify form handling and button behavior (#10441)
Removed redundant handleSave and handleSubmit props in domain settings. Integrated form submission logic directly into form components, ensuring consistent behavior and reducing complexity. Updated button components to explicitly support the "type" attribute for improved accessibility and functionality. --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
@ -141,6 +141,7 @@ export const Radio = ({
|
||||
id={optionId}
|
||||
name={name}
|
||||
data-testid="input-radio"
|
||||
tabIndex={-1}
|
||||
checked={checked}
|
||||
value={value || label}
|
||||
radio-size={size}
|
||||
|
||||
Reference in New Issue
Block a user