Closed Ethaan closed 3 months ago
Have you just tried ... value=this}}
?
yes :s, still the same
Maybe it doesn't support reactive values then; I'm not sure. What happens with value="blah"
?
value="e"
works great, so yeah i think reactive values are not supported
Thanks for the response =D
I defined my reactivevars like this:
Template.Calculator.onCreated(function CalculatorOnCreated() {
// counter starts at 0
this.parent1 = new ReactiveVar({"name": ""});
this.parent2 = new ReactiveVar({"name": ""});
this.results = new ReactiveVar("collapse");
});
then assigned them in events like this:
"autocompleteselect input#parent1": function(e, t, doc) {
Template.instance().parent1.set(doc);
},
"autocompleteselect input#parent2": function(e, t, doc) {
Template.instance().parent2.set(doc);
},
Is something im missing?
this return @{{this}} as plain text on the autocomplete.