-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update ButtonGroupWidget to correctly handle button disabling ba…
…sed on form validity - Adjusted logic in ButtonGroupComponent to disable buttons when `disabledWhenInvalid` is true and the form is invalid. - Passed `isFormValid` prop from ButtonGroupWidget to ButtonGroupComponent. - Updated tests to ensure buttons are enabled/disabled correctly based on the `isFormValid` state. Co-Authored-By: rahul.barwal@appsmith.com
- Loading branch information
1 parent
e2b0485
commit e71e6e0
Showing
3 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters