diff --git a/src/components/shared/wizard/RenderMultiField.tsx b/src/components/shared/wizard/RenderMultiField.tsx index 7cd94f5125..213b23a46a 100644 --- a/src/components/shared/wizard/RenderMultiField.tsx +++ b/src/components/shared/wizard/RenderMultiField.tsx @@ -206,27 +206,26 @@ const ShowValue = ({ showCheck, onBlur, }: { - setEditMode: (e: boolean) => void + setEditMode: (e: boolean) => void form: FieldProps["form"] field: FieldProps["field"] showCheck: boolean, onBlur: () => void }) => { return ( -
setEditMode(true)} - onFocus={() => setEditMode(true)} // <-- activate edit mode on focus - onKeyDown={e => { - if (e.key === "Enter" || e.key === " ") { - setEditMode(true); - e.preventDefault(); - } - }} - - onBlur={onBlur} - className="show-edit" - > +
setEditMode(true)} + onFocus={() => setEditMode(true)} // <-- activate edit mode on focus + onKeyDown={e => { + if (e.key === "Enter" || e.key === " ") { + setEditMode(true); + e.preventDefault(); + } + }} + onBlur={onBlur} + className="show-edit" + > {field.value instanceof Array && field.value.length !== 0 ? (