Skip to content

Conversation

@gesinn-it-ilm
Copy link
Contributor

This PR is related to the issue #134.

This PR contains:

  • Additional check if a value is wrapped in and extract the actual raw value before comparison. This prevents previously selected values from being lost when editing the form again.

- Check if a value is wrapped in <span class="smw-value"> and extract the actual
raw value before comparison. This prevents previously selected values from
being lost when editing the form again.
@gesinn-it-ilm gesinn-it-ilm requested a review from krabina April 15, 2025 17:40
@gesinn-it-ilm gesinn-it-ilm self-assigned this Apr 15, 2025
@codecov
Copy link

codecov bot commented Apr 15, 2025

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 60.00%. Comparing base (611dde1) to head (a9b4fa8).

Files with missing lines Patch % Lines
src/SemanticFormsSelectInput.php 25.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #135      +/-   ##
============================================
- Coverage     60.26%   60.00%   -0.27%     
- Complexity      103      105       +2     
============================================
  Files             8        8              
  Lines           526      530       +4     
  Branches         44       44              
============================================
+ Hits            317      318       +1     
- Misses          168      171       +3     
  Partials         41       41              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gesinn-it-ilm
Copy link
Contributor Author

@krabina The PR is ready to be checked and merged.
As soon as you test the functionality, if everything works as expected, we can then close all related issues.

Copy link
Contributor

@krabina krabina left a comment

Choose a reason for hiding this comment

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

Thank you, I can confirm that this fixes the issue!

@gesinn-it-ilm
Copy link
Contributor Author

@krabina Great news. Then this PR can be merged.

@gesinn-it-ilm gesinn-it-ilm requested a review from jaideraf April 16, 2025 15:39
@krabina krabina merged commit 5a78276 into master Apr 16, 2025
12 of 14 checks passed
@krabina krabina deleted the issue-134 branch April 16, 2025 15:49
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.

3 participants