Angular @ViewChild and ngIf
The Angular @ViewChild decorator can be tricky to handle if the element or component it references also has an ngIf directive. Take the example below. Currently, clicking the button will…
The Angular @ViewChild decorator can be tricky to handle if the element or component it references also has an ngIf directive. Take the example below. Currently, clicking the button will…
In my trek across the Internet, I came across Jest, a powerful and simple to use testing framework for Angular. The features and benefits of Jest are detailed in a…
Using a PrimeNG (v12.1.0-rc.2) AutoComplete control is a matter of adding a formControlName (see line 5) attribute on the p-autoComplete component. The setValue/getValue methods will set and get the current selected value of the…
Some but not all PrimeNG (v12.1.0-rc.2) components support Angular reactive templates. Component Name Reactive/Non-Reactive? Accordion Non-Reactive Auto Complete Reactive Calendar Reactive Cascade Select Reactive Checkbox Reactive Drop Down Reactive Editor…
Using a PrimeNG (v12.1.0-rc.2) drop down is a matter of adding a formControlName (see line 5) attribute on the p-dropdown component. The setValue/getValue methods will set and get the current…