python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
ngIf not working. Even if I do *ngIf="true" it doesn't show, neither does *ngIf="false"
I want hide a div if some variable is null, but *ngIf is not working even if I assign true directly.
tree.component.ts
import { Component, OnInit } from '@angular/core';
import { Tree} from '../model/...
hil-beer-t
Votes: 0
Answers: 1
Angular enable/disable form inputs based on async pipe object variable in template
How can I hide/show input fields based on variables of an async-piped object?
What I currently have:
A video-detail form with an async pipe to retrieve the video.
<ng-container *ngIf="video$ |...
kcinkcinkcinnick
Votes: 0
Answers: 0
Angular using ngIf then EventEmitter won't work
In my application, there are two childs and one parent
child A pass object to child b
<app-temp-add [map]="selectedMap"></app-temp-add>
child B use *ngif to check the object is ...
Kevin Lee
Votes: 0
Answers: 0
Restrict user to only check one checkbox at a time in Angular
I have a use case where I MUST use Angular to render my checkboxes along with their respective contents. The ASK is to restrict the user to only check one checkbox at a time(i.e. User should be able t...
Alex Mo
Votes: 0
Answers: 3