Posts by jcebidanes • 131 points
11 posts
-
1
votes1
answer183
viewsA: Select array to save
Posting response from stackblitz app.modulets. import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; import { HelloComponent } from…
-
1
votes2
answers136
viewsA: Error attaching Angular4 file
You can do this way to perform the upload. app.component.html <form [formGroup]="photoForm" class="row" (submit)="upload()"> <input #fileInput formControlName="file" type="file"…
-
1
votes1
answer1353
viewsA: How to import css in Angular 6?
First perform font-awesome installation by npm. npm install font-awesome Then just add in your angular json. in area style as below. I have already put bootstrap in the example as well. ....…
-
0
votes1
answer47
viewsA: Send data to angular guardians
You can use a service that explicitly provides Toke or permissions. user.service.ts ... getPermissions(){ const currentUser = localStorage.getItem(currentUser); return currentUser.permissions; //…
-
-1
votes2
answers72
viewsA: Show first and last record of each date
One approach is you perform a query where you group by date. SELECT count(*), DATE_FORMAT(timestamp, "%Y-%m-01") AS month FROM tabela GROUP BY month From a look at date and time functions mysql.…
-
0
votes1
answer37
viewsA: Pass an id through a checkbox at Angular 5
Just use the ngModelChange in the input. html <input type="checkbox" id="1" [ngModel]="filter" (ngModelChange)="onFilterChange($event)"> Checkbox TS export class HelloWorld { filter = false;…
-
2
votes4
answers355
viewsA: Edge at intersection between 2 elements - CSS
One way to solve this is by using svg. Here’s an example. index.html <html> <head> <link rel="stylesheet" href="style.css"> </head> <body> <div id="left"> This is…
css3answered jcebidanes 131 -
0
votes1
answer792
viewsA: Error trying to initialize Angular project (To disable this Warning use "ng config -g cli.warnings.versionMismatch false")
I have the same message. Your global Angular CLI version (6.0.8) is Greater than your local version (1.7.3). The local Angular CLI version is used. To disable this Warning use "ng config -g…
-
1
votes1
answer124
viewsA: Node_modules folder does not go up to svn
It is not advised to edit something within node_modules. In the documentation of [http://numeraljs.com/] has the "#Locales" solution you need. The stretch below I removed from there. I hope it…
-
0
votes1
answer660
viewsA: Angular - Take data from a json Object and put into a table together with another Object
I believe that by creating a grouping function you can solve your problem. Example: var list = [ {name: "1", lastname: "foo1", age: "16"}, {name: "2", lastname: "foo", age: "13"}, {name: "3",…
-
1
votes3
answers864
viewsA: Font Awesome icons do not take Primeng
In the icon property put this way. icon="fa fa-pencil" That should solve.