All Questions
Tagged with angular7 typescript
1,111
questions
1
vote
1
answer
40
views
How to expand and collapse table row in angular 7
I am trying to expand and collapse each table row without adding new properties(expanded1 and expanded2) in the json data. How to do it. Is it possible or not?
app.component.ts:
export class ...
1
vote
1
answer
60
views
How to add new property in the json data without adding in the interface using typescript or javascript
I am trying to add new properties inside the josn data without adding in the interface. But i am not able to add it.So, How to add new properties in the json data. Is it possible or not?
app.component....
0
votes
1
answer
265
views
How to expand row in a table using typescript or javascript
I have used angular 7.I am trying to expand and collapse table row by clicking name and place. But it is not opening properly.
If i click place name, that place details only i want to show. But in my ...
0
votes
0
answers
69
views
Angular keyvaluepipe with return 0 is not returning the value of the object
I'm having issues where the {{item}} are not being shown in separate list, after I added returnZero for keyvalue (so that key is not sorted), it is giving me an error for section.value and wouldn't ...
1
vote
0
answers
1k
views
TypeError: Cannot read properties of undefined (reading 'hasOwnProperty') on Angular 7
What causes this error? Work perfectly on local, yet in server, when I click on the button that triggers the next page this shows up and broken the load. It's a core error I can't find what is caused ...
0
votes
1
answer
189
views
Azure ad redirect loops in S3 bucket. Works fine in local
I am using angular 7 application. https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-angular-samples/angular7-sample-app
I used this sample application too. I ...
2
votes
3
answers
1k
views
Keep right click context menu on the screen
I have created an typescript component for my Context Menu and everything is working great except when the Context menu is activated near the edge of the screen it will go past the edge of the screen ...
0
votes
0
answers
47
views
regex not working for angular 7 input pattern
What I tried
field: {
"pattern": "((?!(demo case)).)*"
}
<input matInput spellcheck="false" [formControlName]="field.key" [id]="field.key"...
1
vote
1
answer
2k
views
Angular 7 router.navigate() queryParams - parsing multiple values for the same param
So, basicaly I have a route to which I have to pass a few values, but they are all regarding the same parameter. This is the URL I wish to navigate to:
http://localhost:4200/home/path?status=1&...
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
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..) ...
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
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/...