Open Closed

<abp-modal> options attribute throwing error: can't bind to 'options' since it isn't a known property of 'abp-modal' #5723


User avatar
0
shobhit created

ABP Framework version: v4.2.2 UI Type: Angular Database System: EF Core (SQL Server) Tiered (for MVC) or Auth Server Separated (for Angular): yes


I hope you're having a good day. I'm just facing the following issue.

So I'm trying to use the abp-modal element as follows:

<abp-modal [(visible)]="isModalOpen" [busy]="isModalBusy" [size]="modalSize" id="myModal" (disappear)="onClose()" [options]="ngModalOptions">

None of the attributes are throwing an error except [options] . It's throwing the following error: Can't bind to 'options' since it isn't a known property of 'abp-modal'.

So I'm not sure why only this attribute is throwing an error while everything else is recognized and working fine.

Thank you!


1 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Support Team Angular Developer

    Hello, In version 4.2.2 there is no option @Input() You need to update project to version 4.3.x

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11