Questions tagged as 'angular-material'

2
answers

The materialize Label does not grow when an input is populated

When I look for the data to fill the inputs the label does not go up, getting over the value of the input follows the image. FormCode:<divclass="row"> <div class="col s12 "> <h4>Cadastrar Cliente</h4> <...
asked by 05.07.2016 / 22:54
1
answer

Angular Material 5 - Mat-Table Sort

The Type and Date fields are not sorting in descending order of the user's command, the .ts and html code is attached: If someone has an explanation / solution please share it. import { Component, OnInit, ViewChild, Input} from '@angular/core'...
asked by 12.12.2018 / 18:11
1
answer

How to make subitems with the SideNav component of the Angular Material Design

I made a menu using Angle Material Design's SideNav like this: <mat-sidenav-container class="sidenav-container"> <mat-sidenav #drawer class="sidenav" fixedInViewport="true" [attr.role]="(isHandset$ | async) ? 'dialog' : 'navigatio...
asked by 23.11.2018 / 16:22
0
answers

Angle Error TypeError: _co.disable is not a function

I would like to understand what is causing this error in my application. Here are the codes: desabilitar(elemento){ var radio = document.getElementById(elemento) as HTMLInputElement; radio.checked = false; } <mat-radio-button class="marg...
asked by 15.11.2018 / 15:10
0
answers

open mdBottomSheet inside a card

How to open $ mdBottomSheet inside a card or div, instead of opening the whole page? I'm using AngularJs material.     
asked by 13.09.2018 / 21:31
0
answers

Set MatDatePicker component format

How to set the format of the DatePicker component in Angle 6. In my Angular 6 app, I'm working with the Cloud Firestore database of Firebase . When performing a document query, when the document has a field of type Timestamp retur...
asked by 21.07.2018 / 15:57
0
answers

Load options when clicking on the component matAutocomplete

According to the documentation of the Angular Material, when clicking the component to type, it should already display the check box with the options, and as I type, it will filter. Examples: Autocomplete | Angular Material I made a test as...
asked by 19.06.2018 / 20:15
1
answer

Migration from angled material 5 to angled material 6

I'm migrating from angled 5 to 6 and from material 5 to 6. The problem is that the second error occurs when uploading the application. TypeError: Cannot read property 'appendChild' of null at MatCommonModule.push../node_modules/@angular/materi...
asked by 18.06.2018 / 16:53
0
answers

method Object.values () does not work on data source Angular Material

I'm using [Angular Material][1] in a project and need to collect information from a json-server API. I created a property called clubes , it gets the values coming from ClubeService and returns me this way: 0: {.....
asked by 12.05.2018 / 03:39
0
answers

CSS not loading right, but I give F5 and loads normally - Angular 5 with Material

Hello, I am creating a system with Angular 5 along with the Material (CSS), but I have the following problem in my project: When logo on the system, CSS is badly loaded (image below). ButwhenIgiveF5,thescreencorrectsaccordingtomyCSS:...
asked by 10.01.2018 / 16:38