You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WebPart title should be editable 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.
Since this change breaks production code and would require modifications to all solutions using the WebPartTitle component, I would suggest reverting this change. I am not sure of the original intent behind changing this in relation to Issue #1672.
Please advise if I should proceed with this change
Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
v3.19.0
Affects also previous versions.
Expected Behavior
The WebPart title should be editable every time the WebPart is in edit mode, not just during the initial setup.
Observed Behavior
updateProperty: (value: string) => { this.properties.title = value; this.render(); }}
Steps to Reproduce:
WebPartTitle
Control as per the PnP WebPartTitle documentation.The text was updated successfully, but these errors were encountered: