Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
PropertyFieldTextWithCallout still persist property value when error #172
Expected / Desired Behavior / Question
With the PropertyFieldTextWithCallout control, when an error is returned from the onGetErrorMessage callback property after the text has changed, the WebPart property should not get persisted with the invalid value and should keep it's old value, just like the OOTB TextField property pane.
When the onGetErrorMessage returns an error because the value is invalid, the WebPart property still persists the invalid value.
Steps to Reproduce
Use the PropertyFieldTextWithCallout, return an error from the the onGetErrorMessage callback and notice how the value still gets persisted.
More information on how you can install the latest beta can be found here: https://sharepoint.github.io/sp-dev-fx-property-controls/beta/