From 4377a3972b8005d1e547f4d3d15cedd389cf118c Mon Sep 17 00:00:00 2001 From: mariana-furyk <58301139+mariana-furyk@users.noreply.github.com> Date: Wed, 12 Jun 2024 23:14:56 +0300 Subject: [PATCH] Fix [Jobs] Filtering through custom labels isn't working as intended (#286) --- .../FormChipCell/FormChipCellView.js | 27 ++++++----- .../FormChipCell/NewChipForm/NewChipForm.js | 48 +++++++++++-------- .../FormChipCell/NewChipForm/newChipForm.scss | 8 +++- src/lib/scss/mixins.scss | 4 ++ src/lib/utils/validation.util.js | 32 +++++++++++-- 5 files changed, 81 insertions(+), 38 deletions(-) diff --git a/src/lib/components/FormChipCell/FormChipCellView.js b/src/lib/components/FormChipCell/FormChipCellView.js index a0d3efaa..24003ac7 100644 --- a/src/lib/components/FormChipCell/FormChipCellView.js +++ b/src/lib/components/FormChipCell/FormChipCellView.js @@ -98,26 +98,29 @@ const FormChipCellView = React.forwardRef(
{fields.map((contentItem, index) => { const chipData = fields.value[index] + return ( index < chips.visibleChips?.length && (