Is this something that should work? I can't seem to get it to work — here's
a simplified version of my element:
In my document:
<my-custom-element
form-action="#{populate_orders_path}"></my-custom-element>
(The populate_orders_path is defined by my Rails server and returns
"/store/orders/populate")
Element definition:
<dom-module id="my-custom-element">
<template>
<form action="{{formAction}}">
…
</form>
</template>
<script src="MyCustomElement.js"></script>
</dom-module>
JS (Coffeescript, really, but eh):
MyCustomElement = Polymer(
is: 'my-custom-element',
properties:
formAction: String
)
In the browser, the form element is invariably rendered with an action of "
http://localhost:4000/store/assets/%7B%7BformAction%7D%7D". In the
debugger, I can see the formAction property correctly being set to the
expected value. Other bindings and properties work fine, this appears to be
specific to this tag/attribute.
Any help appreciated,
-j
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/CAKyYh8B9Juj%3Dv2hCGWv-GFx2SROXMeCA1rBPbQa47yva0B5-Vg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.