Skip to content

Feature/ng19 forms migrate textfield textblock #3259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: feature/ng19-forms
Choose a base branch
from

Conversation

alejandro-bulgaris-qcif
Copy link
Contributor

No description provided.

@if (getBooleanProperty('visible')) {
<ng-container *ngTemplateOutlet="getTemplateRef('before')" />
<ng-container [ngSwitch]="tag">
<h1 *ngSwitchCase="'h1'" >{{ model?.getValue() ? model?.getValue() : '' }}</h1>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest using @let to set the model value to a variable, and use the variable, instead of accessing the model value the same way in every switch case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants