Closed steph643 closed 9 years ago
This works properly with 1.8.0
but you must use:
{{#with context}}
{{#if submitted}} ... {{/if}}
{{#if invalidCount}} ... {{/if}}
{{/with}}
I could conceivably make all these individual helpers (so context
doesn't have to be used). But this was the simplest option for now.
In the following code,
{{log "refreshing"}}
is called once, as expected:But suppose you want to pass in
invalidCount
as an argument toUI.contentBlock
(see the use case in discussion https://github.com/meteortemplates/forms/issues/15), like this:Then
{{log "refreshing"}}
is called 4 times (once + once per input).