Skip to content

fix(datetime): fix placeholder not being respected - #17772

Merged
liamdebeasi merged 1 commit into
masterfrom
fix-datetime-placeholder
Mar 13, 2019
Merged

liamdebeasi merged 1 commit into
masterfrom
fix-datetime-placeholder

Conversation

@liamdebeasi

Copy link
Copy Markdown
Contributor

Short description of what this resolves:

Fixes scenario where value is not set and so current date was rendered. As a result, placeholder is never used. This PR does not render the current date if there is no value. Current date is still shown in the picker though

Changes proposed in this pull request:

  • Return early from getText if no value set

@ionitron-bot ionitron-bot Bot added the package: core @ionic/core package label Mar 13, 2019
@liamdebeasi
liamdebeasi merged commit 6939f79 into master Mar 13, 2019
@liamdebeasi
liamdebeasi deleted the fix-datetime-placeholder branch March 13, 2019 15:14
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.

1 participant