Thanks, Sander
Rachel
Sander Elias wrote:
> Hi Rachel,
>
> In your form's component-controller, get hold of the form element, and
> just use JS to trigger the submit directly on it.
>
> As you can't do this from within a web-worker, or server-side I would
> not worry too much about the direct dom references you need for this. I
> will give you a pure dom sample for the sake of simplicity. There are
> better/more angular way's to get this reference.
>
> in your angular submit do something like this:
>
> ||
> querySelector('form#myTargetFrom').submit()
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Angular" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/d3iQkM0exqQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.