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: select does not automatically dismiss when selecting an option when value is a number #23856

Closed
4 of 6 tasks
farisfaisalthena opened this issue Sep 1, 2021 · 2 comments
Closed
4 of 6 tasks
Labels
package: core @ionic/core package type: bug a confirmed bug report v6 issues specific to Framework v6
Milestone

Comments

@farisfaisalthena
Copy link

Prequisites

Ionic Framework Version

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

Current Behavior

When using ion-select with number values and using the popover interface, I will not be able to select anything. Using the default interface or action-sheet will only work. Besides that, if the value property is a string then it will not have this issue.

Expected Behavior

Regardless of the interface, when a value property is a number, I should be able to select them

Steps to Reproduce

    <ion-item lines="inset">
      <ion-label>Time (Select One)</ion-label>
      <ion-select interface="popover">
        <ion-select-option [value]="5">5</ion-select-option>
        <ion-select-option [value]="10">10</ion-select-option>
        <ion-select-option [value]="15">15</ion-select-option>
      </ion-select>
    </ion-item>

Code Reproduction URL

https://github.com/farisfaisalthena/starter-repo

Ionic Info

No response

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Sep 1, 2021
@liamdebeasi liamdebeasi changed the title bug: ion-select not working when using popover interface bug: select does not automatically dismiss when selecting an option when value is a number Sep 1, 2021
@liamdebeasi liamdebeasi added package: core @ionic/core package type: bug a confirmed bug report labels Sep 1, 2021
@liamdebeasi liamdebeasi added this to the 6.0.0 milestone Sep 1, 2021
@ionitron-bot ionitron-bot bot removed the triage label Sep 1, 2021
@liamdebeasi liamdebeasi added the v6 issues specific to Framework v6 label Sep 8, 2021
@asa47 asa47 mentioned this issue Sep 9, 2021
6 tasks
@averyjohnston
Copy link
Contributor

Thanks for the report, I've resolved this via #23998 and the fix will be available in a future release of Ionic.

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 3, 2021

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 Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package type: bug a confirmed bug report v6 issues specific to Framework v6
Projects
None yet
Development

No branches or pull requests

3 participants