app-router
app-router copied to clipboard
GET form submission parameter not passed
I have the following use case
<app-route path="/search/"></app-route>
<form action="/search/?q={{q}}" method="get">
<paper-input-decorator>
<input is="core-input" value="{{q}}">
</paper-input-decorator>
</form>
when I type in a query and submit the form, the urls is: /search/?
if:
<form action="/search/{{q}}" method="get">
...
If I type in "foo", url is: search/foo?
How to make the form action to look /search/q=foo?
Maybe this?
<form action="/search/q={{q}}" method="get">
This might be more of a Polymer template syntax question...