Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 13 : Issue with button inside a Textbox #1234

Open
Audhut opened this issue Feb 28, 2022 · 0 comments
Open

Angular 13 : Issue with button inside a Textbox #1234

Audhut opened this issue Feb 28, 2022 · 0 comments

Comments

@Audhut
Copy link

Audhut commented Feb 28, 2022

I am using Angular 13 and have the below control in my html

<dx-text-box [showClearButton]="true" style="width: 400px" [(value)]="searchValue"
placeholder="Search" (onEnterKey)="onSearchEnterKey($event)">
<dxi-button name="search" location="after" [options]="passwordButton">

below is the list of modules in my app.module file

DevExtremeModule,
DxMenuModule,
DxRangeSelectorModule,
DxPopupModule,
DxChartModule,
DxPieChartModule,
DxVectorMapModule,
DxDataGridModule,
DxBulletModule,
DxButtonModule,
DxTextBoxModule,
DevExtremeModule,
DxTemplateModule

i am getting the below error

**'dxi-button' is not a known element:

  1. If 'dxi-button' is an Angular component, then verify that it is part of this module.
  2. If 'dxi-button' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.**

if i remove the <dxi-button name="search" location="after" [options]="passwordButton"> , the application compiles successfully.

Note: i am using the same code with an Angular 11 application and devextreme-angular": "^20.2.4", it works perfectly there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant