We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MaskEdit 'ngModel' it isn't a known property of 'input'

Thread ID:





132608 Sep 12,2017 07:21 AM UTC Sep 13,2017 04:43 AM UTC Angular 2
Tags: ejMaskEdit
Asked On September 12, 2017 07:21 AM UTC

I am using:
     - syncfusion-javascript: ^15.3.26

     - @angular: ^4.0.0

I import mask edit in app.module.ts:

     import { EJ_MASKEDIT_COMPONENTS } from 'ej-angular2/src/ej/maskedit.component';

            declarations: [

All other components work fine, but for mask edit:

     <input ej-maskedit [(ngModel)]="name" inputMode="ej.InputMode.Text" />

I get error:

     "Can't bind to 'ngModel' since it isn't a known property of 'input'".

It works fine for me in some earlier version. What I am doing wrong ?


Replied On September 12, 2017 07:38 AM UTC

Sorry it is my mistake. It does not have to do anything with the syncfusion mask edit.

I forgot to import FormsModule. It was Angular issue.

import { FormsModule } from '@angular/forms';


    imports: [



After peace of code above everything works 



Karthik Ravichandran [Syncfusion]
Replied On September 13, 2017 04:43 AM UTC

Hi Milos, 
Thanks for contacting syncfusion support. 
Please let us know if you need further assistance on this. 
Karthik R 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon