udos86/ng-dynamic-forms

Mask on MatInput (Angular Material)

begandroide opened this issue · 0 comments

I'm submitting a


[x] Bug / Regression
[ ] Feature Request / Proposal

I'm using


NG Dynamic Forms Version: `X.Y.Z`

[ ] Basic UI
[ ] Bootstrap UI  
[ ] Foundation UI
[ ] Ionic UI
[ ] Kendo UI
[x] Material  
[ ] NG Bootstrap
[ ] Prime NG

Description

Hi! Im using dynamic-material-form-input with mask from json and doesn't works, I was reading your code for angular material and i have a couple of questions:

  1. Why [textMask] directive is placed in mat-form-field tag and not in tag?, this doesn't work
  2. If I place [textMask] directive on input field, i have a error : ERROR Error: More than one custom value accessor matches form control with unspecified name attribute.

So, textmask is usefull to angular-material input field?

Thanks in advance, regards!