-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty form fields are missing from the model obgect #384
Comments
That is true, but how could it be handled otherwise and maintain the required validation? |
What do you mean? |
Partially it does, because |
Isn't it possible to trigger the required if the field is empty like the angular form control does? |
ngx-schema-form doesn't rely on angular form control validation rather on a json schema validator. |
Thanks for the detailed explanation. Could you please point me to the code that is in charge of removing the empty fields and to the validation part? |
I don't know it myself. |
Sure Anyone else that can point me toi the code that is in charge of removing the empty fields and to the validation? |
@AviFix I would guess that |
Hi,
When leaving a field empty, its property seems to be removed from the form value.
Regular angular form:
firstName is empty but is exist
ngx-schema-form:
email is empty and not showing in the model object.
Thanks
The text was updated successfully, but these errors were encountered: