I'm creating a date time picker control in the angular material and having the below code to do that  <button mat-button [matMenuTriggerFor]="menu">     <mat-icon>date_range</mat-icon>     <span>Date Range</span...
How can we select mat option when press on tab key?, it should work like enter button in mat-autocomplete angular 6... In below URL its working when press enter, but whenever we press tab button it should select highlighted option.   <mat-form-fie...
This is my form group. I'm using a form group inside another one:  this.shopGroup = this.fb.group({   _user: [''],   name: ['', Validators.compose([Validators.required, Validators.maxLength(60)])],   url_name: [''],   desc...
Continue to the Using angular material 2 table to display the result from backend based on user's current location  My purpose for this code is when user enter the site, it will try to ask user the current location. Once my front end get current...
How to Change language of Datepicker of Material Angular? I can't find in documentation for Angular material 2. Here is a plunkr https://plnkr.co/edit/unzlijtsHf3CPW4oL7bl?p=preview      <md-input-container>   <input mdInput [mdDatepicke...
I'm using the latest Angular and latest Angular Material. I've got a datepicker and I want to add some validation. Documents say that the required attribute should work out of the box, but it doesn't seem to handle errors in the same way...
I have implemented the angular material slide-toggle that all seems to work except for some reason it isn't binding the value to the relevant variable for some reason?  // other irrevelant imports above.. import {MatDialog, MatDialogRef, MAT_DIAL...
I am using Angular 4 and have installed Angular Material 2 as I like how the components look.  So now I have all the components and want to create a layout.  I know there's Angular Flex-layout for it but to be honest I don't know Flex that we...
i have a large list and i want to load it as the user scroll down the select field but how can i get the scroll event in mat-select there is no event that fire the scroll event.   <mat-form-field>   <mat-select placeholder="Choose a Doct...
I have multiple tabs view with a component rendering in each one of them. Here is the code for that:  <mat-tab-group>                     <mat-tab *ngFor="let g of goals; index as i">                         <ng-template mat-ta...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.