WebPartTitle Control Fails to Update After Initial Save #1921
Labels
status:duplicate
Duplicate of another issue. See comments for reference to other issue. Duplicates typically closed.
status:fixed-next-drop
Issue will be fixed in upcoming release.
Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
v3.20.0
This issue persists in previous release 3.19.0 also and an issue has been reported for the same .
Expected Behavior
The WebPart title should be editable dynamically every time the WebPart is in edit mode, not just during the initial setup.
Observed Behavior
The WebPart title can only be set once, during the initial addition of the WebPart.
The event appears to propagate correctly, but the WebPart does not re-render, leading to the observed faulty behavior.
Note: Users have reported that this faulty behavior started appearing a couple of days ago.
Forcing a re-render by adding this.render() resolves the issue, but this would require updating all existing components. Additionally, this requirement is not documented as mandatory.
updateProperty: (value: string) => { this.properties.title = value; this.render(); }}
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: