[BUG] Date/Time Component Fails to Save When 'noeval' Property is Set to True
@ZenMasterJacob20011 já está trabalhando nisso.
Desde 3/7/2024.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Environment
When using the noeval property set to true in the component within an Angular project, the Date/Time component fails to save. This issue occurs consistently and prevents the proper saving of the form. An error alert is shown with the message: "Please fix the following errors before submitting. Disable specific dates or dates by range: custom." The error is shown in the attached screenshot. However, the form saves without the error alert if noeval is set to false.
- Hosting type
- Form.io
- Local deployment
- Version:
5.3.0
- Version:
- Formio.js version:
4.19.2 - Frontend framework: Angular
- Browser: Chrome
- Browser version:
Steps to Reproduce
- Create a form using the form builder in an Angular project.
- Drag and drop a Date/Time component into the form.
- Go to the Date section of the Date/Time component.
- Enter the date you want to exclude in the 'Disable specific dates or dates by range' field or leave it blank.
- Click Save on the preview screen on the right.
Expected behavior
The Date/Time component should save, even when the noeval property is set to true.
Observed behavior
The Date/Time component does not save, when you click save, an error alert is displayed with the message: "Please fix the following errors before submitting. Disable specific dates or dates by range: custom."
Code Implementation
<form-builder [form]="form" (change)="change()" [options]="formOptions" [noeval]="true"></form-builder>
Screenshot
Additional Information:
Workaround: When the noeval property is set to false, the form saves without any error alerts.
Rolling back to Formio.js version 4.15.1 seems to work without encountering this issue.
- Linguagem predominante
- TypeScript
- Estrelas
- 706
- Forks
- 493
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de formio/angular
-
question
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
-
[BUG] <form-builder> move icon is missingTalvez livre de novo @PrathameshHegde assumiu há 99 dias e não há nenhum pull request aberto. Abertabug
-
[Question] Version 10.0Abertaquestion
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptionsTalvez livre de novo @Victoriya25 assumiu há 363 dias e não há nenhum pull request aberto. Abertabug
-
question
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
Todas as issues de formio/angular
Issues semelhantes
-
area: batch
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
inabagumi/shinju-date#7294 ·
Mantenedores costumam responder em até 1 dia
-
documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
streaming-video-technology-alliance/common-media-library#700 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
vercel-labs/ui#809 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
KrisCris/village-in-the-shade-guide#75 ·
Mantenedores costumam responder em até 1 dia
-
bot:ai-assisted component:platform-js status:untriaged
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 74/100
midnightntwrk/platform-js#38 ·