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

bug: Cannot bind to canDismiss on ion-modal in Angular #25239

Closed
4 of 7 tasks
sean-perkins opened this issue May 4, 2022 · 1 comment
Closed
4 of 7 tasks

bug: Cannot bind to canDismiss on ion-modal in Angular #25239

sean-perkins opened this issue May 4, 2022 · 1 comment
Assignees
Labels
package: angular @ionic/angular package type: bug a confirmed bug report

Comments

@sean-perkins
Copy link
Contributor

sean-perkins commented May 4, 2022

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

In Angular, when attempting to bind to [canDismiss] you will receive an error:

Can't bind to 'canDismiss' since it isn't a known property of 'ion-modal'.

Expected Behavior

There should be no error when using this API.

Steps to Reproduce

  1. Create an Ionic Angular app
  2. Use an inline modal
  3. Bind [canDismiss] to a function or boolean

Code Reproduction URL

https://stackblitz.com/edit/angular-h2sx2y

Ionic Info

N/A

Additional Information

I think this was just missed from being added to the proxy. Will create a new dev build to confirm.

@ionitron-bot ionitron-bot bot added the triage label May 4, 2022
@sean-perkins sean-perkins added package: angular @ionic/angular package type: bug a confirmed bug report labels May 4, 2022
@sean-perkins sean-perkins self-assigned this May 4, 2022
@ionitron-bot ionitron-bot bot removed the triage label May 4, 2022
@ionitron-bot
Copy link

ionitron-bot bot commented Jun 3, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jun 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: angular @ionic/angular package type: bug a confirmed bug report
Projects
None yet
Development

No branches or pull requests

1 participant