All Questions
Tagged with javascript angularjs
119,717
questions
1
vote
1
answer
37
views
Angular JS to Angular 18 migration
I'm trying to create a hybrid Angular JS Angular 18 application, and at first the application was running fine with this setup:
upgrade-module.ts
import { DoBootstrap, NgModule } from '@angular/core';
...
0
votes
0
answers
27
views
Select option in angular with javascript
Hi every one i am trying to select an option in a page written ing angularjs via javascript
i digged a few but i couldnt find any solition
any example will be appreciated thanks.
<div class="...
0
votes
1
answer
99
views
Is bootstrap.min.js CSP compatible?
I am importing the bootstrap.min.js library file in my AngularJS project. The problem arises when I add the following CSP line to my project:
<httpProtocol>
<customHeaders>
<...
0
votes
0
answers
20
views
using CSS-Loader, Style-Loader with ngtools is generating TypeError: at ShadowCss.shimCssText (compiler.mjs)
`I am creating Angular V-18 project without CLI and but i cannot find the solution for this one
my package.json
my tsconfig.json
webpack.config.mjs
const __filename = fileURLToPath(import.meta.url); ...
0
votes
0
answers
80
views
How to change AngularJS UI Grid cell font color during cell edition
1.Background
The following code snippet shows that it is possible to change the font color of a textarea element while it is being edited (font color changes from black to red if the word foo is typed)...
0
votes
1
answer
40
views
AngularJS angular-xeditable stop cancel event
I use angular-xeditable v0.9.0 lib in a project.
I click editable-text field and show editable form. It's ok.
But after I click anywhere, the editable form will hide. I need the form to remain active ...
0
votes
0
answers
48
views
When AngularJS render the HTML elements?
I have Cannot read properties of undefined reading rate error in the browsers console for a web app developed using AngularJS.
HTML code:
....
<div ng-if="!GetTaxController.getMinimumTax()&...
-1
votes
1
answer
27
views
Setting object values to ng-model in angularjs
I am using angularjs 1st version to display values on multiple text fields using ng-model.
I have an object like this
$scope.fieldValues = {
keys: Object.keys(subkeys),
values: Object.values(...
0
votes
0
answers
43
views
Unable to set the content to the ckeditor
I am using version 5 of CKEditor and I have an issue where I can load the Ckeditor in the UI but am unable to see the content in it after setting the data
If I add the links from the Editor menu, the ...
-1
votes
0
answers
27
views
ASP.NET MVC 5 and AngularJs (1.8.2) - A certain field from a data is being updated by another data (Which has different Id)
We have this application that has a problem with regards to data consistency, which the applications is created on ASP.NET MVC 5, and in AngularJS 1.8.2. and SQL Server and we use Entity Framework.
...
2
votes
0
answers
70
views
Add bootswatch in my styles.scss file with Angular 17
here is my styles.css code
/* You can add global styles to this file, and also import other style files */
/* Importing Bootstrap SCSS file. */
@import 'bootswatch/dist/cyborg/variables';
@import '...
1
vote
1
answer
62
views
Type 'unknown' is not assignable to type 'HttpEvent<any>' - Trying to create HTTP interceptor in Angular app
I have been trying to create a loading spinner in my Angular application.
I found an interesting tutorial here (https://medium.com/swlh/angular-loading-spinner-using-http-interceptor-63c1bb76517b).
It ...
1
vote
1
answer
39
views
I get a blank first page when printing the HTML Template of a widget with multiple loops
I am using a table with a tbody etc. I have a situation where I have created a report widget that loops through dates then reservations followed by service items. Everything looks fine on the screen, ...
0
votes
0
answers
46
views
How can I handle file uploads in a React frontend with an Express.js backend and store the files in MongoDB?
I'm working on a full-stack web application using React for the frontend and Express.js for the backend. I need to implement a feature where users can upload files through a form in React, and these ...