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,216
questions
0
votes
0
answers
246
views
Error in Typesense Node Modules When using Typesense with Ionic 4
I am getting the following output when running ionic serve in my project directory:
ERROR in node_modules/typesense/lib/Typesense/Documents.d.ts(2,13): error TS1005: '=' expected.
[ng] node_modules/...
0
votes
2
answers
1k
views
Angular7 Ng-Multiselect-dropdown Its Adding Dynamically but not updating
<ng-multiselect-dropdown
[settings]="settings"
name="cuisine"
[placeholder]="'select '"
[(ngModel)]="data1"
...
0
votes
1
answer
421
views
Duplicate id attribute value "x" found on the web page
I am using Angular 7 - three components [a, b, c] use an input element that has the id of [x] however, component [b] has 4 input elements using id of [x] aswell. This raises Accessibility Issues - as ...
0
votes
1
answer
92
views
calcuate value getting the error : ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked
I need help to solve the problem, I need to show value, that calcuate by the forgroup data, because it changes I guess the error shows, but I tried many ways to solve it(like ngAfterViewChecked etc..) ...
0
votes
2
answers
521
views
Angular component does not update correctly using @Input and a Service
I'm using Angular version 7 with a component that has a serie of divs being rendering according to the data coming from an @Input and it should be updated due the service response, nevertheless the ...
1
vote
1
answer
800
views
Restrict the multiple tabs to open in a same browser
In my application, it should not allow the user to open the application in multiple tabs for same browser. I need to implement this for some security purpose. How can I implement this in angular 8?
1
vote
1
answer
637
views
load multiple script tag in angular component
I'm trying to load a series of scripts from a component of an angular application, I want to do it in a specific component and not in the index.html but I can't find a way to do it, any help or advice?...
4
votes
1
answer
4k
views
Angular 7 - How to bind the value to the radio button
I'm trying to use the radio button on my project but I failed to check the first radio button programmatically.
I had tried the Solution, but it is still not working in my code.
Here is my radio ...
0
votes
0
answers
273
views
I am unable to find some of the features in covalent/core version 4 for Angular 12 which are found in version 3
I am using covalent/core version 4 in my Angular 12 project and unable to find the covalent/core/loading, covalent/core/media and few more libraries which are available in the covalent/core version 3 ...
2
votes
1
answer
64
views
Css from child component will affect the entire page
I have a page and the page is split in two. Part of the page is child1, part is child 2.
Hierarchy
Parent
Child1
Child2
Below are the css included in the page
Child1 -> z-index: 1
Child2 -&...
1
vote
1
answer
917
views
Filtering of Array using filter() works fine, but doesn't change in frontend
component.ts
searchVideo = (search: string) => {
this.query = search;
if(this.videos.length == 0){
this.filteredData = [];
}
if(!this.query){
...
1
vote
1
answer
690
views
How to use Paper.js with angular 7+
I have tried to find a tutorial on how to use paper.js with angular but cant find a proper way to do it.
0
votes
1
answer
9k
views
My error : error TS2554: Expected 1 arguments, but got 0 . And this: An argument for 'params' was not provided
customer-list.component.ts
onLoadCustomers() {
const customersReq = this.customerService.getCustomers()
customer.servise.ts
getCustomers(params: any): Observable {
return this.http.post(${this.api}api/...
-1
votes
1
answer
2k
views
Why my min and max validation is not firing?
I have the template like below:
<form class="form" [formGroup]="configWeightage">
<div class="example-container">
Enter value in between 0 to 100 <...
2
votes
2
answers
778
views
Checking the timeout error on the port with Angular 2 and rjxs
I want to check if the request is timeout when I send a request to the port. I just want to print an error when the request is timeout.
myService.service.ts
checkStatus() : Observable<any> {
...