Questions tagged as 'angular'

0
answers

Validation form one or another field

I understand the validation options of fields of forms applied in angular and ionic which is what interests me, but I do not find the option of making one of the following fields "telephone or cellular" mandatory, the idea is that at least enter...
asked by 10.07.2018 / 04:50
0
answers

Why checkbox is selected?

I have the following code ... <mz-checkbox-container> <input mz-checkbox id="select-all-{{i}}-{{index}}" type="checkbox" (change)="selectCheck(i)" [(ngModel)]="cards[i].valueFlights[index]"> </mz-checkbox-...
asked by 10.07.2018 / 18:12
0
answers

Ionic 3 cordova build --debug android - Error

After so much trying and trying, and more trying, I have a project assigned in Ionic which is generating an error when generating the code: ionic cordova build --debug android ionic cordova build --debug android Running app-scripts build: --...
asked by 10.07.2018 / 21:44
1
answer

I get the following error 'directives' does not exist

cronometro.html <div> <button (click)="start()" >Empezar</button> <button (click)="lapso()">Lapso</button> <button (click)="stop()">Parar</button> </div> <div> <p>{{hora}...
asked by 14.07.2018 / 20:15
0
answers

OnCompleted and Timer with Angular2

I have a form to insert products, the send button must be deactivated while the server makes the request that may be true or false. Then whether true or false, an alert will be shown confirming or not. (With Clarity) When you have an ale...
asked by 09.07.2018 / 10:44
1
answer

Angular Problem Firestore - The function does not return any value

I'm having a problem with the following function. retornaCantidadActual(itemProducto) { this.prodserv.getProdObservable(itemProducto).subscribe(dataprod => { const xxprod = dataprod; console.log('Funcion retornaCantidadActual =====>...
asked by 08.07.2018 / 03:30
1
answer

show first value (option) of a select tag in angular 4

hi I'm doing a form in the dual I have different select tags that have values of cities to which I want to place the first value of options so that when the user chooses the first value of the options label is seen as the first value, the proble...
asked by 02.07.2018 / 18:07
1
answer

how can I use niceScroll in angular?

I have the following error when trying to use the nicescroll in angular:    Uncaught TypeError: $ (...). niceScroll is not a function           at common-scripts.js: 92           at common-scripts.js: 157       (anonymous) @ common-scripts....
asked by 02.07.2018 / 21:58
0
answers

Notifications in Java web app

I am with a web application developed almost entirely with Java in the back and Angular in the front, using Web Services . One of the requests of the client is that it has a system of notifications, that is to say, that wh...
asked by 30.06.2018 / 09:44
1
answer

Convert longitude and latitude to angular direction 5

They are sending me the longitude and latitude of a device and I have to place it on a map that I do but I have to show the latitude, longitude and direction of the device next to the map, my question is how can I convert that latitude and longi...
asked by 29.06.2018 / 17:54