Skip to content

Commit 5b958d6

Browse files
BlokhliorzamOmri-Levy
authored
fix: added key for re-rending over value change (#2791)
Co-authored-by: liorzam <[email protected]> Co-authored-by: Omri Levy <[email protected]>
1 parent b9ac70a commit 5b958d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/backoffice-v2/src/lib/blocks/components/EditableDetails/EditableDetails.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ export const EditableDetails: FunctionComponent<IEditableDetails> = ({
346346
)}
347347
{isSelect && (
348348
<Select
349+
key={keyFactory(field.value, title, `select`, id)}
349350
disabled={!isEditable}
350351
onValueChange={field.onChange}
351352
defaultValue={field.value}

0 commit comments

Comments
 (0)