From 6684563bb8168dc337eba746726e6726101e09d2 Mon Sep 17 00:00:00 2001 From: Prasanna Vijayan Date: Tue, 19 Mar 2024 16:09:08 +0530 Subject: [PATCH] fix: [FE][FC-122306]: Fixes dependent field editable permission issues --- .../components/fb-field-dropdown.tsx | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/packages/crayons-extended/custom-objects/src/components/form-builder/components/fb-field-dropdown.tsx b/packages/crayons-extended/custom-objects/src/components/form-builder/components/fb-field-dropdown.tsx index a36f1e445..0b33b8170 100644 --- a/packages/crayons-extended/custom-objects/src/components/form-builder/components/fb-field-dropdown.tsx +++ b/packages/crayons-extended/custom-objects/src/components/form-builder/components/fb-field-dropdown.tsx @@ -456,21 +456,23 @@ export class FbFieldDropdown { {i18nText('addChoice')} )} - {this.enableBulkChoices && (this.parentId || this.level === 1) && ( - - - {i18nText('addBulkChoice')} - - )} + {!this.disabled && + this.enableBulkChoices && + (this.parentId || this.level === 1) && ( + + + {i18nText('addBulkChoice')} + + )} {this.boolExceededChoiceLimit && (