Skip to content

Commit

Permalink
fix : required = isRoundabout for roundabout component
Browse files Browse the repository at this point in the history
  • Loading branch information
BulotF authored and QRuhier committed Oct 1, 2024
1 parent 053155a commit d8f9a4c
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/widgets/component-new-edit/components/controls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const Controls = ({
id="control_scope"
component={Select}
label={Dictionary.control_scope}
required={isDynamicArray}
required={isRoundabout}
>
<GenericOption key="WHOLE" value="WHOLE">
{Dictionary.ROUNDABOUT}
Expand All @@ -116,18 +116,6 @@ const Controls = ({
</GenericOption>
</Field>
)}
{/* <Field */}
{/* name="during_collect" */}
{/* id="control_during_collect" */}
{/* component={Checkbox} */}
{/* label={Dictionary.control_during_collect} */}
{/* /> */}
{/* <Field */}
{/* name="post_collect" */}
{/* id="control_post_collect" */}
{/* component={Checkbox} */}
{/* label={Dictionary.control_post_collect} */}
{/* /> */}
</ListWithInputPanel>
</FormSection>
);
Expand Down

0 comments on commit d8f9a4c

Please sign in to comment.