Open teckays opened 9 years ago
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/?
/search/?
if:
<form action="/search/{{q}}" method="get"> ...
If I type in "foo", url is: search/foo?
search/foo?
How to make the form action to look /search/q=foo?
/search/q=foo
Maybe this?
<form action="/search/q={{q}}" method="get">
This might be more of a Polymer template syntax question...
I have the following use case
when I type in a query and submit the form, the urls is:
/search/?
if:
If I type in "foo", url is:
search/foo?
How to make the form action to look
/search/q=foo
?