307,313 questions
0
votes
0
answers
6
views
Charts update leads to unexpected scroll
I am working on an Angular application using Primeng and Chart.js. I have a big webpage with many forms and charts. When I update one field of my forms, I need to update the corresponding charts. All ...
0
votes
0
answers
10
views
How to properly use nullable/optional values in Dexie JS?
I apologize if the title is a little vague as it's hard to explain in only one short sentence, but here's what I'm trying to do:
In Angular 17 with DexieJS, I have the following object:
export ...
0
votes
0
answers
7
views
How can I replicate this POS UI layout using Angular standalone components and PrimeNG or even normal HTML and CSSS?
I'm trying to design a POS (Point of Sale) screen using Angular (v17) with standalone components and PrimeNG UI components. I've attached a screenshot of the layout I'm aiming for:
What I’ve done so ...
0
votes
0
answers
36
views
How do return jsonobject instead of Map inside Rust
i am using sort function to sort JSON based on object key this is my function as below
#[wasm_bindgen]
pub fn sort_json_array(arr: JsValue, key: &str, ascending: bool) -> JsValue {
// ...
1
vote
1
answer
27
views
How to trigger PrimeNG <p-fileUpload> file dialog by clicking a custom icon?
I’m using Angular 18 and PrimeNG 17.x, and I want to open the file upload dialog of a component when I click a custom icon, like a file-excel icon.
What I Tried
I tried two methods:
Calling .choose() ...
1
vote
2
answers
35
views
Angular 18 computed not a function
I'm using Angular 18 with signals.
My CalculationService basically calculates a price based on some parameters.
Building with ng serve doesn't throw any errors neither does VSCode, however my browser ...
-4
votes
0
answers
47
views
Web Api .Net 8 core with Angular [closed]
I am Facing a problem with creating Web Api Core .Net 8 Project+Angular.
need to run 'F5' the whole project as a one batch not separate UI and Swagger , need the UI appear and the Api run in ...
1
vote
1
answer
40
views
SwiperJs not working properly when rendering it conditionally
In my angular application, I have 4 swiper slide, which i want to render conditionally. But its not working properly. I have added images as well at bottom.
Issue - On initial load all swiper are ...
1
vote
1
answer
25
views
Error NG2003: No suitable injection token for parameter 'exportAsService' – ngx-export-as issue in Angular component reuse [closed]
I'm working on an Angular project and using the ngx-export-as package, which was already installed and working fine in some of my components.
However, when I tried to use the same ExportAsService in a ...
2
votes
1
answer
58
views
Reactive Form Control value not rendered on data bind update (Select/Dropdown)
Using a FormBuilder, 2 properties are created. One property (storefront) has a change event trigger which populates data to the select option of the other (countryCode).
The countryCode is populated ...
1
vote
1
answer
35
views
How to avoid style duplication when including themes?
I have updated my Angular application to Angular 19.2, and also to Angular Material 19.2.
I have created color palettes by running ng generate @angular/material:theme-color, to generate the file ...
0
votes
1
answer
37
views
How to use httpResource to fetch a text file and use the fetched data to show in HTML
I am experimenting with httpResource, I am trying to fetch an text file using the new httpResource method, but I am not sure how to convert the fetched text file to render in an textarea tag.
Angular....
0
votes
1
answer
39
views
How to use httpResource to fetch an image and render in HTML as a URL
I am experimenting with httpResource, I am trying to fetch an image using the new httpResource method, but I am not sure how to convert the fetched image render in an img tag.
Below is a sample of ...
-1
votes
1
answer
32
views
Http Resource is not firing when the signals inside change - Angular 19 (Experimental)
I am learning about httpResource and I can notice that the httpResource signal is not firing when the signal used to generate the URL is changed.
Angular.dev - HttpResource Docs
Below is a simple ...
0
votes
0
answers
24
views
How to dynamically load an entity in withMethod of ngrx signal store without triggering NG0600?
I'm working with the new ngrx/signals store, and I need to dynamically fetch an entity if it's not already present in the store.
Here's the method I'm using inside a withMethod block :
getTeam(uri: ...