Unclear form accessibility from within directive
I have two forms in two directives, respectively. In one form, I can access the form in its directive JS using:
<form name="formName"..>
scope.formName
This does not work in the other form, however. After some research, someone recommended using an object in this manner, which works:
<form name="form.name"..>
scope.form = {};
scope.form.name
What is the official way of accessing the form from within the directive JS?
Thanks!
We need an actual example to see the difference between the two forms. Can you provide a plnkr or something like that?
@smuellerus We haven't heard from you and in the issue's current state we cannot really do anything about it. So I'm gonna close it; feel free to reopen if you can provide more information.