Skip to content

Commit

Permalink
ORV2-1394 more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
erikataot committed Oct 19, 2023
1 parent 9ff0f60 commit c70c49a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const getErrorMessage = (errors: any, fieldPath: string): string => {
* @param options These options are used to customize the component through styles, validation rules, and TanStack React Query integration
* @param name The name of the field, which is the Unique name of your input.
* @param rules Validation rules such as required, min, max, etc
* @param label Text to label the field. Must be identical to the value in i18/translations/en.json if integrating with i18
* @param label Text to label the field.
* @param inputProps MUI component attributes applied to the html input element.
* @param width Width of the MUI Box container that contains all of the code for the form component. Defaults t0 520px
* @param customHelperText Non-bold text to appear in parenthesis beside the label
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,6 @@ export const VehicleDetails = ({
label: "Plate",
width: formFieldStyle.width,
}}
i18options={{
label_i18: "vehicle.power-unit.plate",
}}
/>

<CustomFormComponent
Expand All @@ -301,9 +298,6 @@ export const VehicleDetails = ({
label: "Make",
width: formFieldStyle.width,
}}
i18options={{
label_i18: "vehicle.power-unit.make",
}}
/>

<CustomFormComponent
Expand Down

0 comments on commit c70c49a

Please sign in to comment.