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

feat: ion-datetime label should be removable when presentation is set to time only #23662

Closed
3 tasks done
bchehraz opened this issue Jul 21, 2021 · 3 comments
Closed
3 tasks done
Labels

Comments

@bchehraz
Copy link

Prequisites

Describe the Feature Request

(v6)
When the presentation property of an ion-datetime is set to "time" only. There's still a "Time" label appended to the front of the picker component. There should be a way to remove the label.

Screen Shot 2021-07-20 at 4 17 46 PM

Describe the Use Case

On my app I have a few forms that require multiple time input fields, e.g. Begin and End fields. Using the ion-datetime with presentation set to "time" only, I want to be able to delete the label all together (to allow for inserting my own label beside the component).

Describe Preferred Solution

  • Allow for a timeLabel prop which is true or false by default.
  • Would also be nice if we can just customize the label, where if it's left blank that there is no label, but null is set to the default label.

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Jul 21, 2021
@EinfachHans
Copy link
Contributor

EinfachHans commented Jul 21, 2021

Duplicate of #23555 and resolved by #23577

@liamdebeasi
Copy link
Contributor

Thanks for the issue. As noted above this was resolved via #23577 and this functionality will be available in v6 beta 2.

@ionitron-bot
Copy link

ionitron-bot bot commented Aug 20, 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 Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants