[WEB-1962] fix: disabled custom menu (#5130)
* fix: custom menu disabled button * Add constants package to package.json * Freeze hook form version --------- Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
This commit is contained in:
parent
e4d6e5e1af
commit
5464e62a03
2 changed files with 3 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ const CustomMenu = (props: ICustomMenuDropdownProps) => {
|
|||
onClick={handleMenuButtonClick}
|
||||
className={customButtonClassName}
|
||||
tabIndex={customButtonTabIndex}
|
||||
disabled={disabled}
|
||||
>
|
||||
{customButton}
|
||||
</button>
|
||||
|
|
@ -172,6 +173,7 @@ const CustomMenu = (props: ICustomMenuDropdownProps) => {
|
|||
} ${buttonClassName}`}
|
||||
onClick={handleMenuButtonClick}
|
||||
tabIndex={customButtonTabIndex}
|
||||
disabled={disabled}
|
||||
>
|
||||
{label}
|
||||
{!noChevron && <ChevronDown className="h-3.5 w-3.5" />}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
"@plane/editor": "*",
|
||||
"@plane/types": "*",
|
||||
"@plane/ui": "*",
|
||||
"@plane/constants": "*",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"@sentry/nextjs": "^8",
|
||||
"axios": "^1.1.3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue