Questions tagged as 'angular'

0
answers

How to validate if a text area has values with angular?

I have the following textarea <textarea ng-model="comment" name="comment"> Where I need to apply a style to a button with ng-class when entering a value in textarea <a on-touch="confirm()" style="width:160px;...
asked by 04.04.2018 / 00:59
1
answer

How to use ngfor with ngif to create buttons

I want to use the ngfor to get 4 stored data and create the 4 buttons with that data and depending on the choice that this redirects to the page that corresponds to it.         <button id="menu-button11" ion-button color="positive" blo...
asked by 22.03.2018 / 03:37
0
answers

Horizontal Scroll handling for the vertical header and scroll for the first column using Ionic 3

I am developing an app with Ionic 3 and I have looked everywhere to make part of my ion-grid have a horizontal scroll for the header and the first ion-col column stays fixed and only moves vertically. Any ideas ??? I've tried Css and it do...
asked by 21.03.2018 / 19:14
0
answers

How can I enable a button if in another component form they gave submit? Angular 2, Material

Hi guys I have two components in angular 2 one component A where I have a button and component B where I have a registration form, now how can I validate the button in component A so that it appears when the component B submit has been successfu...
asked by 27.10.2017 / 18:20
0
answers

Error in angular 4: "property ... does not exist on type ..."

I'm starting with angular4 , using the angular-cli tool I generated a test project and I have a problem when I try to use the imported service method, this would be the source code: app / student.service.ts import { Injectable } fro...
asked by 17.10.2017 / 23:15
1
answer

selected does not work in multiple select in angular 4

the selected property does not work on angular 4. for example if I cycle <select multiple > <option *ngFor="let opt of model" selected> opt.name </option> and there is 10 option only going to select the last element. Th...
asked by 23.03.2018 / 03:35
1
answer

How to get the id of a select in angular 4

<div class="form-group"> <label for="power">Hero Power</label> <select class="form-control" id="power" ng-model="idcaptured2" required> <option *ngFor="let pow of mod" [value]="pow.id">{{pow.denominacion}}<...
asked by 14.08.2017 / 19:16
2
answers

Select dependent on angular 2

I am trying to make a select dependent on countries that, when selecting a country, load the states but I can not find a way to do it in Angular 2 <div class="col-md-4"> <div class="form-group">...
asked by 26.07.2017 / 17:32
0
answers

How to select items by creating a rectangle with Angular 2/4?

I have a big problem with something I've been trying to do for a while now. I have this Angular 2/4 code in Plunker ( link ) to which you can select one or more cards dragging the mouse on the cards but it is not the exact implementation that...
asked by 30.06.2017 / 22:50
2
answers

How many people see my firebase records?

Develop an app with firebase and ionic , I currently have an object called publications and I would like to know how many users see these posts in my app imagen publicaciones Is there a method that tells me how many users...
asked by 26.07.2018 / 23:19