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

[DSS-426]: fix(toggle): Add conditional for customContent #1751

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

pixelflips
Copy link
Member

@pixelflips pixelflips commented Jun 17, 2023

Description

Adds conditional for customContent to prevent empty div from being displayed.

Screenshots

Before After
40dacc1f-7ca0-4125-b40f-b819dcfb005c Screenshot 2023-06-16 at 5 04 18 PM

Testing in sage-lib

Radio:

  • Navigate to Radio
  • Verify empty custom content div (sage-radio__custom-content) no longer displays in DOM when there is no custom content

Checkbox:

  • Navigate to Checkbox
  • Verify empty custom content div (sage-checkbox__custom-content) no longer displays in DOM when there is no custom content

Testing in kajabi-products

  1. (LOW) Add conditional to remove empty markup when there is no custom content for radio and checkbox. No effect on KP expected

Related

DSS-426

@pixelflips pixelflips added the bug Something isn't working label Jun 17, 2023
@pixelflips pixelflips self-assigned this Jun 17, 2023
@pixelflips pixelflips marked this pull request as ready for review June 17, 2023 00:13
@pixelflips pixelflips requested a review from a team June 17, 2023 00:13
@ju-Skinner ju-Skinner requested a review from a team June 20, 2023 20:18
@pixelflips pixelflips merged commit a0126f5 into develop Jun 20, 2023
@pixelflips pixelflips deleted the DSS-426_pl-radio-custom-slot branch June 20, 2023 20:23
@pixelflips pixelflips mentioned this pull request Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants