Skip to content

Commit

Permalink
#fix: correção da validacao do campo de unit no registro de equipamento
Browse files Browse the repository at this point in the history
Co-authored-by: JoaoVitorFarias <[email protected]>
  • Loading branch information
JPedroCh and JoaoVitorFarias committed Jul 9, 2023
1 parent 683607b commit 0a71da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/equipment-form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export default function EquipmentForm({
}))}
placeholder="Selecione uma opção"
label="Posto de trabalho"
rules={{ required: 'Campo obrigatório', shouldUnregister: true }}
rules={{ shouldUnregister: true }}
/>

<Input
Expand Down

0 comments on commit 0a71da2

Please sign in to comment.