Skip to content

ensure normalised empty value is returned as an empty string#1591

Merged
angrybrad merged 1 commit into5.xfrom
bugfix/1560-setEmptyValue-and-normalizing-values
Feb 6, 2025
Merged

ensure normalised empty value is returned as an empty string#1591
angrybrad merged 1 commit into5.xfrom
bugfix/1560-setEmptyValue-and-normalizing-values

Conversation

@i-just
Copy link
Contributor

@i-just i-just commented Feb 6, 2025

Description

Ensure the normalised empty value is returned as an empty string if setEmtpyValues is on, so that the existing value can be cleared as intended.

This could happen for, e.g., a plain text field and a value of a single space. After normalisation, that value is turned into a null, which means it wasn’t being respected even with the setEmtpyValues turned on.

Related issues

#1560

@i-just i-just requested a review from angrybrad as a code owner February 6, 2025 08:51
@i-just i-just changed the base branch from 6.x to 5.x February 6, 2025 08:51
@angrybrad angrybrad merged commit 8f9612e into 5.x Feb 6, 2025
6 checks passed
@angrybrad angrybrad deleted the bugfix/1560-setEmptyValue-and-normalizing-values branch February 6, 2025 23:44
angrybrad added a commit that referenced this pull request Feb 6, 2025
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.

2 participants