Closed mkouba closed 1 year ago
See https://quarkus.io/guides/qute-reference#strict_rendering.
For example, {#if errors['firstName'] != null} results in a template exception if no error with the key firstName is present.
{#if errors['firstName'] != null}
firstName
Solutions:
{#if errors.containsKey('firstName')}
{#if errors.['firstName'].or(false)}
quarkus.qute.strict-rendering=false
{#if errors['firstName']}
Thanks, I'll have a look tomorrow
See https://quarkus.io/guides/qute-reference#strict_rendering.
For example,
{#if errors['firstName'] != null}
results in a template exception if no error with the keyfirstName
is present.Solutions:
{#if errors.containsKey('firstName')}
(preferred){#if errors.['firstName'].or(false)}
quarkus.qute.strict-rendering=false
&&{#if errors['firstName']}