307,298 questions
0
votes
0
answers
7
views
Migrating angular tinymce from v6 to v8 resolve is not working
I am igrating my application from angular v15 to angular v18 for that I have also updated my tinymce package. But now stuck at below. image uploader is not working
the below function was working fine
...
0
votes
1
answer
22
views
user logout when browser tab is closed
I need help. "How can I log out a user in Angular when they close the browser tab instead of clicking the logout button, so that the next time they try to access the application, they have to log ...
1
vote
1
answer
23
views
Angular test case fails with NG0203: inject() must be called from an injection context
I'm testing an Angular 18 standalone component using TestBed and running into this error when the component is initialized during a unit test:
Error: NG0203: inject() must be called from an injection ...
0
votes
0
answers
28
views
I want to check for character validation where the input is a string, and I have to check for each character that I enter is the same, like monkeytype [closed]
The problem is the same as a typing challenge. The character entered should be checked with its already generated string. It's just the same as MonkeyType. This is to be done in angular.
export class ...
0
votes
1
answer
47
views
Angular request duplicate if error is throw
I have a weird behavior with my requests. If the request throw an error, I automatically get a second one launched
Here is an example of my request :
this.http.post(environment['url'] + '/ws/verifier/...
1
vote
0
answers
33
views
Powershell script to upgrade keywords in Font Awesome from 5 to 6
With the change from Font Awesome 5 to 6 in my Angular project many of the keywords for the icons changed. I need a Powershell script to replace tham all inside the .html files.
A list with all ...
1
vote
2
answers
51
views
How to test Angular's output signal?
I have an output signal in my component like this:
updatedBook = output<Book>();
...
updateBook(changedBook: Book){
this.updatedBook.emit(changedBook);
}
In the template I have a binding ...
0
votes
1
answer
32
views
Bootstrap Dropdown menu doesn't pop out of responsive table
So I am running in to an issue where I have multiple Bootstrap dropdown menus that appear onClick within a Bootstrap responsive table. However these dropdown menus are supposed to overflow the table ...
1
vote
1
answer
20
views
AG-Grid Header can't be aligned to center
i am using angular 15 and now developing an aplication that works like excel using ag grid.
i already add the header class to center
[defaultColDef]="{ resizable: false, sortable: false, editable:...
2
votes
0
answers
46
views
Reading a 92 byte CSV file takes 15–20 seconds to process
I'm working on an Angular app and trying to read and parse a simple CSV file that is only 92 bytes.
Surprisingly, the upload and processing takes around 15 to 20 seconds, even for such a tiny file.
...
0
votes
1
answer
35
views
Adding delay in HttpTestingController - Angular Unit test
Trying to validate timeout from db queries, not able to achieve it via HttpTestingController.
Not sure how to design the UT. Where to add the timeout in this setup.
it('test timeout', () => {
...
0
votes
0
answers
20
views
"Jest Cannot Find Module '@maxgraph/core' in Angular Application Despite Correct Configuration"
I'm working on an Angular application where I'm using the @maxgraph/core library. I've written unit tests using Jest, but I'm encountering an issue where Jest cannot find the @maxgraph/core module. ...
2
votes
2
answers
56
views
Using forkJoin for nested API calls
I am struggling to understand the best way to implement nested calls to a API, using forkJoin (without using nested observables).
I have three APIs:
API to create student (/student/)
API to add ...
-4
votes
0
answers
36
views
Postman backend API and Angular Application [closed]
I need help getting my angular application to communicate with my backend api. I need my product to look like the attached image. I currently am using postman that takes JSON data, and it works ...
1
vote
2
answers
30
views
ERROR TypeError: Cannot read properties of null (reading 'offsetHeight') in primeng MenuModule
I am using MenuModule primeng
The model inside Menu is of type signal
And it is taken from service
Now when service is called and model is filled this error is displayed
ERROR TypeError: Cannot read ...