From 281126df6db7c6c7c8d1e291440c871fdec431f5 Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Thu, 27 Apr 2023 15:26:37 +0200 Subject: [PATCH] :bug: Fixing select in forms --- src/front/Components/DesignSystem/Select/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/front/Components/DesignSystem/Select/index.tsx b/src/front/Components/DesignSystem/Select/index.tsx index 9a389c2d..72425ece 100644 --- a/src/front/Components/DesignSystem/Select/index.tsx +++ b/src/front/Components/DesignSystem/Select/index.tsx @@ -14,6 +14,7 @@ type IProps = { hasBorderRightCollapsed?: boolean; placeholder?: string; className?: string; + name?: string; }; export type IOption = { @@ -50,6 +51,7 @@ export default class Select extends React.Component { const selectedOption = this.state.selectedOption ?? this.props.selectedOption; return (
+ {selectedOption && }