Skip to content

fix(picker): allow selectedIndex to be zero - #14479

Closed
pwespi wants to merge 2 commits into
ionic-team:masterfrom
pwespi:patch-1
Closed

pwespi wants to merge 2 commits into
ionic-team:masterfrom
pwespi:patch-1

Conversation

@pwespi

@pwespi pwespi commented May 15, 2018

Copy link
Copy Markdown
Contributor

Short description of what this resolves:

Currently, if selectedIndex is 0 (the first item in the column is selected), the picker returns null instead of the first item.

Changes proposed in this pull request:

  • allow selectedIndex to be 0

Ionic Version: 4.x

Fixes: #

@brandyscarney

Copy link
Copy Markdown
Member

Thank you for the PR! Made a small change but merged it here: d19061c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants