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

fix(storefront): SD-10928 Cornerstone update to support multiple date fields and remove blank space #2533

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

ZacBC
Copy link
Contributor

@ZacBC ZacBC commented Jan 14, 2025

What?

Update date.html and product_details.js to remove the space at the stop of date fields and to support multiple date fields per page.
The ID attributes for date fields cause invalid html when there are multiple date fields on a page due to duplicate IDs.
OPTGROUP under the Day select box causes extra space in Day dropdown.
ready() call is not necessary, there already is a $scope class member which references a containing element.

Requirements

  • CHANGELOG.md entry added (required for code changes only)

Tickets / Documentation

Screenshots

Before:

before.mov

After:

after.mov
attributes

@ZacBC ZacBC marked this pull request as ready for review January 14, 2025 21:40
@bc-yevhenii-buliuk
Copy link
Contributor

LGTM, good job! Just don't forget squash your commits into one.

…rt multiple date fields

fix(storefront): SD-10928 remove space at top of date field and support multiple date fields
Copy link
Contributor

@bc-alexsaiannyi bc-alexsaiannyi left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this, well done!

@bc-yevhenii-buliuk bc-yevhenii-buliuk merged commit 4ac6945 into bigcommerce:master Jan 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants