306,363
questions
-1
votes
1
answer
22
views
Suggestion not showing up for input
I am trying to learn react by practising a simple problem.
I followed the below youtube tutorial
https://www.youtube.com/watch?v=AsvybgZTryo&list=PLKhlp2qtUcSZiWKJTi5-5r6IRdHhxP9ZU&index=17
...
-1
votes
0
answers
12
views
How to align items on single row in ion-grid?
I would like to have the text 12345 to be vertically aligned with the avatar on the left. How to solve it first with means of ionic(while using grid) and if not possible, then with css? I've tried to ...
0
votes
0
answers
9
views
MSAL protectedResourceMap VERB based configuration
I'm looking to configure protectedResourceMap with MSAL to differentiate between HTTP verbs. Specifically, I want to set up an open POST endpoint and a protected GET endpoint.
Requirements:
Anonymous ...
0
votes
0
answers
8
views
Dynamic content projection of an array of components wrapped in another component
I want to dynamically project a rendered component inside a wrapping component so I can wrap some other HTML around it. Unfortunately, this pattern has been implemented across an app, and refactoring ...
0
votes
0
answers
12
views
error starting angular project caused from ng-zorro after updating project to latest version getting Error evaluating function `color`
X [ERROR] Error evaluating function color: JavaScript evaluation error: 'ReferenceError: colorPalette is not defined' [plugin angular-less]
node_modules/ng-zorro-antd/button/style/index.less:33:4:
...
-1
votes
1
answer
30
views
How to return Observable<T> from Promise?
I am trying to return an authResult from the following method but it looks like all execution paths do not return a value.
Here's my method:
public loginWithFacebook(): Observable<AuthResult> ...
0
votes
0
answers
11
views
Read into HTML input with QR scanner while disable virtual keyboard showing up automatically
I have a web app where I want to read from the QR scanner on a Honeywell EDA57 terminal (runs Android 12 and latest mobile Chrome) and other similar devices. It works well except when I want to ...
0
votes
0
answers
24
views
Spring Security allows requests from all origins locally, but blocks my Angular app when deployed to Cloud Run
I'm having an issue with my Spring Security CORS configuration. I'm testing my API locally with multiple profiles, and I’ve deployed the API and Angular app to Cloud Run (on different GCP projects).
I’...
0
votes
0
answers
11
views
Angular 18/algoliasearch 5 appID is missing only on production build using algoliasearch/lite
I have just upgraded algoliasearch in an Angular 18 app from version 4 to 5. Here are the pertinent imports:
import { ALGOLIA_APP_ID, ALGOLIA_API_KEY, ALGOLIA_UNIT } from '@env';
import { liteClient, ...
0
votes
0
answers
11
views
Angular Routing Not Working: Login Form Does Not Navigate to /login Route
I have a login form:
import { Component, ViewChild } from "@angular/core";
import { NgForm } from "@angular/forms";
import { AuthService } from "@app/auth/services/auth....
-1
votes
0
answers
13
views
Jest Unit test Using Angular (No Jasmine)
`Hi All, I am stuck in writing a unit test for the below function in Angular.
Here is my unit test:
describe('ProductAccountSetupComponent', () => {
let urlsService: GBUrlsService;
let ...
-2
votes
0
answers
36
views
How to fix CORS error while accessing cross domain API [closed]
I am working on Angular project implement login/registration and dashboard API. As a backend I am using spring boot API with spring security. Below is the spring security implementation
Now while ...
0
votes
0
answers
14
views
How manage 3rd party libraries while creating angular libraries
I have been building multiple libraries in angular, say X, Y & Z. And they will be loaded in the main app. These different libraries can have different node modules depending on the feature of ...
0
votes
1
answer
14
views
CDK Virtual Scrolling Issue with maxBufferPx not displaying full list
I'm implementing CDK Virtual Scrolling for a large list, and while scrolling works smoothly with just minBufferPx, I'm having issues when adding maxBufferPx. Without it, I get this console error:
...
0
votes
0
answers
7
views
Sonarqube for Angular Project (ERROR:java.lang.IllegalStateException: Unable to prepare analysis rep)
Sonarqube for Angular Project Issue - Genrating Report for Angular Project
Angular : 18
node : v22.9.0
npm : 10.8.3
sonarqube : 10.6.0
Refer this to implement : Angular: SonarQube Integration
I’m ...