Description

This is a regression. Tested in //UE5/Release-5.0 CL20979098

Text in an Editable Text component remains unchanged when set to an empty value by a Set Text(Editable Text) node.

Steps to Reproduce
  1. Create or open any project
  2. Create a new Widget Blueprint named WBP_Test(Right Click in Content Browser User Interface > Widget Blueprint)
    1. Add a Canvas
    2. Add a Button to the Canvas
    3. Add an Editable Text to the Canvas then move it to so it can be easily be interacted with and seen
    4. Get a reference to the Editable Text then off of it create a Set Text(Editable Text) node
    5. In the editor select the Button then create an On Clicked event
    6. Connect the execution pin to the Set Text node from the On Clicked node
    7. Compile, save, and close the Widget Blueprint
  3. Open the Level Blueprint and add the Widget to the Viewport
    1. Create an Event Beginplay node
    2. Get a reference to the Player Controller then off of it create a Set Show Mouse Cursor node then set it to true
    3. From the Controller reference drag off then create a Create New Widget node
    4. Set the class to WBP_Test
    5. Drag off the Return Value then create an Add to Viewport node
    6. Connect up the execution pins, compile, save, and close the Level Blueprint
  4. Play in Editor
  5. Enter some value into the Editable Text
  6. Click the button

Expected Results:
The Text in the Editable Text is blank.

Actual Results:
The text is unchanged.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-171644 in the post.

0
Login to Vote

Fixed
ComponentUE - Editor - UI Systems
Affects Versions5.1
Target Fix5.1.1
Fix Commit23439748
Main Commit23440410
Release Commit23439748
CreatedDec 1, 2022
ResolvedDec 8, 2022
UpdatedFeb 4, 2023
View Jira Issue