ngx-formly / ngx-formly

📝 JSON powered / Dynamic forms for Angular
https://formly.dev
MIT License
2.8k stars 562 forks source link

Validation still not working in Angular 18.1 #3972

Closed create-signal closed 1 month ago

create-signal commented 2 months ago

Description In the reproduction below, both the email and password field are required. Filling the email field and clicking submit without touching the password field would previously (prior to Angular 18.1) show the validation message on the password field.

Additionally, form.markAllAsTouched() and form.get('password').markAsTouched() have no effect.

Touching the email field again will trigger change detection and finally show the message.

Minimal Reproduction

https://stackblitz.com/edit/g3rvwa?file=src%2Fapp%2Fapp.component.ts

Your Environment

leecn9853 commented 1 month ago

I also encountered the same problem. Had to roll back to version 17

aitboudad commented 1 month ago

This issue has been fixed and released as part of v6.3.7 release.

Please let us know, in case you are still encountering a similar issue/problem. Thank you!