[BUG] Date/Time Component Fails to Save When 'noeval' Property is Set to True
@ZenMasterJacob20011 y travaille déjà.
Depuis le 3/7/2024.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
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.
- Langage dominant
- TypeScript
- Étoiles
- 706
- Forks
- 493
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de formio/angular
-
[Question] Angular 22 Update?Ouvertequestion
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
-
[BUG] <form-builder> move icon is missingPeut-être à nouveau libre @PrathameshHegde l’a pris il y a 99 jours, et aucune pull request n’est ouverte. Ouvertebug
formio/angular#1180 · 4 commentaires · 1 personne assignée ·
-
[Question] Version 10.0Ouvertequestion
Difficulté 2/5 1-3 heures Accessibilité débutants 25/100
-
[BUG] "Left (Right-aligned)" label position causes misaligned error messages and descriptionsPeut-être à nouveau libre @Victoriya25 l’a pris il y a 363 jours, et aucune pull request n’est ouverte. Ouvertebug
-
question
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
Toutes les issues de formio/angular
Issues similaires
-
Difficulté 1/5 1-3 heures Accessibilité débutants 83/100
gofish-graphics/gofish-graphics#1384 ·
Les mainteneurs répondent en général sous 1 jour
-
adapter bug
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
Olanetsoft/agent-lookout#353 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
vicharanashala/vibe#1542 ·
Les mainteneurs répondent en général sous 1 jour
-
bug chore P2 size:XS
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
josephfung/curia#2666 ·
Les mainteneurs répondent en général sous 1 jour
-
bug good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
devarshishimpi/codra#178 ·
Les mainteneurs répondent en général sous 1 jour