Questions tagged [angular7]
Questions about Angular version 7, the web framework from Google. Use this tag for Angular questions which are specific to only version 7. Use tag Angular for any Angular questions which are not specific to an individual version.
angular7
5,212
questions
1
vote
0
answers
200
views
How can i test ng template ref from child component in angular 7
show-data.component.html
<responsive [mobile]="mobile" [tablet]="tablet" [desktop]="desktop" ></responsive>
<ng-template #mobile>
<h1> hello from ...
0
votes
1
answer
378
views
Incompatible peer dependency to @angular/core: Angular update
I am trying to upgrade my angular application from version 6 to version 7. I am using below command to do so, but its throwing a warning. I don't want to use "force" commands as it may cause ...
0
votes
2
answers
4k
views
Is there a DateTimePicker in Angular 7?
I am learning angular and I want to implement datetimepicker in Angular version 7.2 and bootstrap v3.3.7.
But I am not able to find out such component, I can find date and time picker as a separate ...
0
votes
1
answer
488
views
ng serve errors on node modules with apollo client
hello we have upgraded angular 6 to 7.2 and have installed graphql. When trying to run ng serve we are getting multiple errors with apollo client for the node modules.
ERROR in node_modules/@apollo/...
0
votes
1
answer
391
views
Destroy ng2-charts before navigating to another component
I created charts in each route.
When I try to navigate from one component to another component I am getting this ERROR and the page is broken. (please see the screenshot below)
Any solutions?
Thanks
...
1
vote
1
answer
530
views
updated angular from 7 to 12 version successfully but getting scss warning in theme folder
assets/themes/sita-rtl.scss - Warning: Css Minimizer Plugin: > assets/themes/sita-rtl.scss:10:2: warning: Expected identifier but found "."
10 │ .row {
╵ ^
assets/themes/Product-...
0
votes
1
answer
588
views
Capturing Iframe data into image(png) in Angular
I have HTML content with Script tags in it that I am loading inside an iframe(Since I'm not able to process it in a normal angular HTML file as it has Head, Style, and Body tags altogether). I need to ...
0
votes
1
answer
798
views
How can I flatten a nested formGroups in angular
I have a nested formGroup like this:
generalFG= new FormGroup({
firstFG : new FormGroup({
AA: new FormControl('', [Validators.required]),
BB: new FormControl('', [Validators.required])...
0
votes
0
answers
1k
views
How to change value aria-label in TypeScript/Angular
I tried change value of aria-label in TypeScript/Angular 7, but when i build project i have an error
public changeAcessibility(isExpanded: boolean, id) {
let aria = (<HTMLButtonElement>...
0
votes
2
answers
805
views
How to called this.getRowStyle function forcefully in Angular 7?
I'm using getRowStyle function, but it seems it runs only once when the grid is loaded or it is edited. How do I force run this function manually so that row colors are loaded.
conditonalFormatter() {
...
1
vote
0
answers
926
views
show previous month dates at the starting of current month [duplicate]
I just started with angular material and I came across using date-picker from angular material 7 and I want to know if is there any way to show previous month dates (as greyed out) in current month ...
0
votes
1
answer
222
views
Authentification error - ASP.NET web API and Angular 7 on IIS server
In my web application hosted on IIS server (.Net web API & Angular 7), I am using SAML authentification and I have a problem when I try to log in the website for the first time, it shows me the ...
1
vote
0
answers
277
views
add multiple polyline in angular 7 using agm npm package
I am using angular google map(AGM) npm package. following is code
<agm-map
(mapClick)="polyineMapClicked($event)"
[ngStyle]="{ height: '400px' }"
[zoom]=&...
-4
votes
2
answers
88
views
Cant Display Image from API in Html (Using angular 7)
i want to display amages from API in my html page
this is my code and the result
any help!!??
0
votes
1
answer
287
views
Is there major performance hit when insert <style> tag dynamically?
I'm in an environment where I have to live with AngularJS/Ng7 with majority of the code still stuck in the Ng1 world. Due to various circumstances, I want to temporarily override certain styles ...