All Questions
10
questions
0
votes
0
answers
26
views
Animation problems with Flowbite and PrimeNG in Angular 18
I'm developing an Angular 18 zoneless app with Flowbite as primary component library but I had to install PrimeNG too because I needed the <p-multiSelect> for my form.
The thing is, when I added ...
0
votes
0
answers
17
views
click event in angular 18 doesn't work in mobile devices
I have a problem on a reservation website. On desktop devices, such as desktops, laptops, and even mobile devices in "desktop mode," users can select their seats, which automatically changes ...
1
vote
0
answers
60
views
Angular Library CSS not working in main project after upgrading from v15 to v18 [closed]
I have an angular library and angular project both were on v15 with material on 14, Now i have upgraded all to v18.
In the library, there are many components. Each having their own scss files. When ...
0
votes
0
answers
58
views
Tooltip not showing on invalid username input using Tailwind and Flowbite
I'm working on an Angular form using Tailwind CSS and the Flowbite library for tooltips. The tooltip is supposed to appear next to the username input field when the field is invalid and touched. ...
1
vote
1
answer
69
views
How to effectively implement "Deferrable Views"
I have implemented Deferrable views in my component.
my-component.html:
<div class="my-container">
@for (type of types; track $index) {
<div class="wrapper">
...
1
vote
2
answers
276
views
Angular Resize event Library in angular 18
I have an external library angular-resize-event
My project was in angular 15 and now i am upgrading it to 18.
After upgrading it to 16. While compiling it give IVY error.
I tried npm i --legacy-peer-...
1
vote
2
answers
341
views
Control flow migration Error on Angular 18: @switch can only have @case or @default as childre
I tried to migrate to control flow format in my Angular 18 projects in nx workspace. For most of the templates worked perfectly but for one html I'm getting the following error:
[ngSwitch]: Error: ...
0
votes
1
answer
34
views
Angular function not firing upon route change
Here are my codes:
profile.component.html
<ng-container *ngFor="let item of profile">
...
</ng-container>
<app-content [content]="content"></app-content>
...
0
votes
0
answers
18
views
Why isn't the isAuthenticated$ observable always emitting the value false even if the user is logged in?
My idea is that once I log in, it is redirected to a route that I already have created in my router module, I have reviewed everything, and I can log in and log out, but nevertheless the state of the ...
17
votes
1
answer
26k
views
Angular V17 / V18: Prospects of @if vs. *ngIf – Will *ngIf be Deprecated in the Future?
In the new version of Angular V17, the @if directive can be used as a replacement for ng-container, which is fantastic. However, sometimes *ngIf is more concise, such as when determining whether to ...