In dustjs, I can supply inline parameter values to partials and it will use the supplied value, but not override the value in the model (if it exists in the model). Below is a code example that demonstrates the issue:
Partial:
Hello {message}
Model:
{ message: 'World' );
Template:
`
{> "../pathToPartial/dustPartial" message="City" /}
`
Expected Output:
Hello City
Actual Output:
Hello World
In dustjs, I can supply inline parameter values to partials and it will use the supplied value, but not override the value in the model (if it exists in the model). Below is a code example that demonstrates the issue:
Partial:
Hello {message}Model:
{ message: 'World' );Template:
`
{> "../pathToPartial/dustPartial" message="City" /}
Expected Output:
Hello City
Actual Output:
Hello World