-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
ion-searchbar [animated]="true" [showCancelButton]="false" #9391
Comments
Use:
since you are not binding a dynamic value |
@manucorporat please consider to reopen, problem was not solved |
In my case this is working well |
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. |
Ionic version: (check one with "x")
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
Current behavior:
When [animated]="true" is used on ion-searchbar, Cancel button is shown, even when [showCancelButton]="false".
Expected behavior:
Cancel button is displayed based on [showCancelButton] setting only.
Steps to reproduce:
Use the below code.
User enters ion-searchbar.
Cancel button is displayed
Other information:
The text was updated successfully, but these errors were encountered: