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: input-date: remove empty-text [GAUD-7027] #5024

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

margaree
Copy link
Contributor

@margaree margaree commented Sep 30, 2024

Jira ticket

This removes the empty-text attribute, as well as all core references to it, from input-date. This attribute is not used and so I've confirmed with Jeff that we want to clean it up as a part of the placeholder clean up work.

@@ -361,7 +351,6 @@ class InputDate extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(

_handleBlur() {
this._showInfoTooltip = true;
this._setFormattedValue(); // needed for case with empty text click on input-text then blur
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this out and it seems no longer needed with empty-text gone.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad we put a comment there then!

Copy link
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-5024/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

@@ -361,7 +351,6 @@ class InputDate extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixin(

_handleBlur() {
this._showInfoTooltip = true;
this._setFormattedValue(); // needed for case with empty text click on input-text then blur
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad we put a comment there then!

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@margaree margaree marked this pull request as ready for review September 30, 2024 16:53
@margaree margaree requested a review from a team as a code owner September 30, 2024 16:53
@margaree margaree merged commit 3e3d9fb into main Sep 30, 2024
6 checks passed
@margaree margaree deleted the input-date-remove-empty-text branch September 30, 2024 17:01
Copy link

🎉 This PR is included in version 3.46.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants