tanansatpal / ngx-mat-intl-tel-input

MIT License
62 stars 112 forks source link

ERROR in Can't bind to 'preferredCountries' since it isn't a known property of 'ngx-mat-intl-tel-input'. #52

Open ankurgupta-srit opened 4 years ago

ankurgupta-srit commented 4 years ago

this is after the Latest library 3.1.0.

  1. If 'ngx-mat-intl-tel-input' is an Angular component and it has 'preferredCountries' input, then verify that it is part of this module.
  2. If 'ngx-mat-intl-tel-input' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("ng-left: 0;"> Phone Number
        <ngx-mat-intl-tel-input [ERROR ->][preferredCountries]="['in', 'us']" [enablePlaceholder]="true" [enableSearch]="true"
          p")

    Can't bind to 'enablePlaceholder' since it isn't a known property of 'ngx-mat-intl-tel-input'.

  4. If 'ngx-mat-intl-tel-input' is an Angular component and it has 'enablePlaceholder' input, then verify that it is part of this module.
  5. If 'ngx-mat-intl-tel-input' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  6. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("l>Phone Number <ngx-mat-intl-tel-input [preferredCountries]="['in', 'us']" [ERROR ->][enablePlaceholder]="true" [enableSearch]="true" placeholder="Phone Number" name="phon") Can't bind to 'enableSearch' since it isn't a known property of 'ngx-mat-intl-tel-input'.
  7. If 'ngx-mat-intl-tel-input' is an Angular component and it has 'enableSearch' input, then verify that it is part of this module.
  8. If 'ngx-mat-intl-tel-input' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  9. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" <ngx-mat-intl-tel-input [preferredCountries]="['in', 'us']" [enablePlaceholder]="true" [ERROR ->][enableSearch]="true" placeholder="Phone Number" name="phone" formControlName="phone">") 'ngx-mat-intl-tel-input' is not a known element:
  10. If 'ngx-mat-intl-tel-input' is an Angular component, then verify that it is part of this module.
  11. If 'ngx-mat-intl-tel-input' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("="col-sm-6" style="padding-left: 0;"> Phone Number
        [ERROR ->]<ngx-mat-intl-tel-input [preferredCountries]="['in', 'us']" [enablePlaceholder]="true" [enableSearch]")
tanansatpal commented 4 years ago

Hi @ankurgupta-srit , this looks like you have not imported the NgxMatIntlTelInputModule in any module.

import {NgxMatIntlTelInputModule} from 'ngx-mat-intl-tel-input';

@NgModule({ imports: [NgxMatIntlTelInputModule] })

export class AppModule { }

tanansatpal commented 4 years ago

Hi @ankurgupta-srit does the above comment helped in resolving the issue?

ankurgupta-srit commented 3 years ago

No it didn't help.

Thanks and Regards Ankur Gupta 9168117468

On Wed, Sep 2, 2020 at 1:02 PM Satpal Tanan notifications@github.com wrote:

Hi @ankurgupta-srit https://github.com/ankurgupta-srit does the above comment helped in resolving the issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tanansatpal/ngx-mat-intl-tel-input/issues/52#issuecomment-685411552, or unsubscribe https://github.com/notifications/unsubscribe-auth/APWYYVID5IB4V6HBKQD3ZZ3SDXYKJANCNFSM4NZAHI7A .

ankurgupta-srit commented 3 years ago

Hi Buddy,

Me And My Brother has started a new Business (GST Suvidha Kendra).

Under this umbrella, he is working to provide a solution related to GST (For businesses).

Apart from this, we are also certified to provide all solutions related to Insurance (Bike/Car/Health/Term).

We also have Ulip policy which all of us use as an investment tool.

With your help and guidance, we will grow and as a friend I want you to do me a favor with the contacts who are in a need of these facilities.

Wish us all the best for the new journey. A simple reply with Best Wishes will give me a JOY :) 😋

Thanks and Regards Ankur Gupta contact: 9168117468, 7566968658 website: https://gst-vision.business.site google page: https://www.google.com/maps/place//data=!4m3!3m2!1s0x39810d60c321309b:0xcf4876e26956dc30!12e1?source=g.page.m&laa=merchant-review-solicitation