You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Expected behavior
I would like to propose ability to pass some custom observable data to form to be able to pass it through form control. It is really useful if that data is dependent on something in form model and we want to for example create that form in dedicated service.
here it is a bit simplified and the use cases is not very visible but imagine this data being dependent on other form values from for example parent form. And some validations and disabled states also also depend on that data in other field etc.
I'm currently working on such form and such feature would be really useful and allow me to do everything much more neatly.
It become really usefull if data is used for a field in model that is in form array and is dependent on field from parent form group.
Just not sure if it should be observable or just "any" and let user decide what is needed.
The text was updated successfully, but these errors were encountered:
kbrilla
changed the title
Additioanl data passed through form
Additional data passed through form
Sep 18, 2020
I'm submitting a...
Expected behavior
I would like to propose ability to pass some custom observable data to form to be able to pass it through form control. It is really useful if that data is dependent on something in form model and we want to for example create that form in dedicated service.
and in service
here it is a bit simplified and the use cases is not very visible but imagine this data being dependent on other form values from for example parent form. And some validations and disabled states also also depend on that data in other field etc.
I'm currently working on such form and such feature would be really useful and allow me to do everything much more neatly.
It become really usefull if data is used for a field in model that is in form array and is dependent on field from parent form group.
Just not sure if it should be observable or just "any" and let user decide what is needed.
The text was updated successfully, but these errors were encountered: