I have a text box that I want to have “dynamic” placeholder text (defined and managed in the view), but I also want it to have an action specific to it. I tried the following two lines:
{{ input id="test" placeholder=view.text action expand target="view"}} <input type="text" id="test" placeholder="{{view.text}}" {{action expand target="view"}} />
Both do not work. So my question is: is there a way to achieve what I want, or would it be easier to have a focus handler in the view that just filters for id (and then calls the extension function)?
source share