Closed dikmax closed 4 years ago
When template have parameters with default arguments, call site still shows an error, if parameter is not passed. Example:
{namespace test.templates} {template .render} {call .withDefaultArg_ /} {/template} {template .withDefaultArg_ visibility="private"} {@param default: string = ''} {$default} {/template}
{call .withDefaultArg_ /} will be underlined with an error: "Missing required parameters: default".
{call .withDefaultArg_ /}
Tested with plugin v.1.5, wasn't working with 1.4 too.
When template have parameters with default arguments, call site still shows an error, if parameter is not passed. Example:
{call .withDefaultArg_ /}
will be underlined with an error: "Missing required parameters: default".Tested with plugin v.1.5, wasn't working with 1.4 too.