Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

checkBoxFieldGroup não estão mostando erro em InscriptionEventCRUD #3

Open
annecchini opened this issue Jun 5, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@annecchini
Copy link
Contributor

Descrição do problema:
o campo de erro não está aparecendo.
Motivo: as regras do CSS não estão sendo aplicadas da mesma forma que TextFieldGroup.
Não estou precisando nesse caso, mas é um problema em potencial quando for precisar.

Gerando o problema
nos arquivos
src/components/inscriptionEvent/InscritionEventCreateOnCalendar.js
src/components/inscriptionEvent/InscritionEventUpdate.js

Em um CheckBoxFieldGroup substitua o valor de error por um valor de teste como abaixo:

        <CheckBoxFieldGroup
          id='allowMultipleAssignments-checkbox'
          name='allowMultipleAssignments'
          text='Múltiplos cargos'
          value='Permitir múltiplas inscrições com cargos diferentes.'
          checked={updateData.allowMultipleAssignments}
          error='testando para ver se o erro aparece'
          onChange={onCheck}
        />

Verifique e inspecione a pagina renderizada.

@annecchini annecchini added invalid This doesn't seem right bug Something isn't working and removed invalid This doesn't seem right labels Jun 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant