Skip to content

Commit

Permalink
feat: add placeholder year-month for subcontracted activities
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianavillar committed May 9, 2024
1 parent 738d290 commit 66310e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/components/form-fields/month-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const MonthField = forwardRef<HTMLInputElement, Props>((props, ref) => {

return (
<FormControl data-testid={id} id={id} isInvalid={props.error !== undefined}>
<FloatingLabelInput type="month" ref={ref} {...props} />
<FloatingLabelInput type="month" placeholder="YYYY-MM" ref={ref} {...props} />
<FormErrorMessage>{props.error}</FormErrorMessage>
</FormControl>
)
Expand Down

0 comments on commit 66310e2

Please sign in to comment.