From 83330fdb4d7d9965118436d2b81ba0204f3b8bf9 Mon Sep 17 00:00:00 2001 From: tischsoic Date: Mon, 19 Feb 2024 15:18:47 +0100 Subject: [PATCH 1/2] IBX-7802: Fix React multi-select dropdown checkbox lack of onChange prop error --- src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js b/src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js index 368ff95f89..87d0c98c83 100644 --- a/src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js +++ b/src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js @@ -82,7 +82,7 @@ const Dropdown = ({ } }} > - {!single && } + {!single && {}} />} {item.label} {single && (
@@ -165,7 +165,7 @@ const Dropdown = ({ }; const renderSelectedMultipleItem = (item) => { return ( -
  • +
  • {item.label} onChange(item.value)} />
  • From 9d07cae0aea4fd50c23bbcef61c3de7ad21078f0 Mon Sep 17 00:00:00 2001 From: tischsoic Date: Mon, 19 Feb 2024 15:22:53 +0100 Subject: [PATCH 2/2] file formatting --- src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js b/src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js index 87d0c98c83..90f5b61622 100644 --- a/src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js +++ b/src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js @@ -82,7 +82,9 @@ const Dropdown = ({ } }} > - {!single && {}} />} + {!single && ( + {}} /> + )} {item.label} {single && (
    @@ -165,7 +167,7 @@ const Dropdown = ({ }; const renderSelectedMultipleItem = (item) => { return ( -
  • +
  • {item.label} onChange(item.value)} />