Skip to content

Commit

Permalink
Revert "UIInput#getSubmittedValue() must also consider isLocalValueSe…
Browse files Browse the repository at this point in the history
…t() when INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true #5386"

This reverts commit 081e6ea.
  • Loading branch information
BalusC committed Feb 17, 2024
1 parent 8e914f1 commit 99c4944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impl/src/main/java/jakarta/faces/component/UIInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public String getFamily() {
*/
@Override
public Object getSubmittedValue() {
if (submittedValue == null && !isValid() && !isLocalValueSet() && considerEmptyStringNull(FacesContext.getCurrentInstance())) { // JAVASERVERFACES_SPEC_PUBLIC-671
if (submittedValue == null && !isValid() && considerEmptyStringNull(FacesContext.getCurrentInstance())) { // JAVASERVERFACES_SPEC_PUBLIC-671
return "";
} else {
return submittedValue;
Expand Down

0 comments on commit 99c4944

Please sign in to comment.