sp-dev-fx-property-controls
sp-dev-fx-property-controls copied to clipboard
PropertyFieldCollectionData keeps 'Save' button disabled when there is no validation errors in Custom FieldType
Category
- [ ] Enhancement
- [X ] Bug
- [ ] Question
Version
Please specify what version of the library you are using: [ 3.9.0]
Expected / Desired Behavior / Question
'Save' button should always be enabled if there isn't any validation error even if is a custom field type.
Observed Behavior
There is a case in the PropertyFieldCollectionData that keeps the 'Save' button disables when you have a custom field. See Steps to reproduce and the gif attached.
Steps to Reproduce
- Create an example of PropertyFieldCollectionData with two fields: a no custom one and a custom one.
- Run and add a filled data row
- Click the + button to add more empty rows (the 'Save' button will be disabled which is correct)
- Delete the empty rows clicking the X button but you don's should start for the first one.
- Then the 'Save' button remains disabled and the behavior of the component is inconsistent from now if you try to edit the content and are more rows.
Please have a look to the attached .gif to see the clearer example. It's been done using the PropertyControlsTestWebPart. You just have to comment the fields except the 'Custom Field' and 'Last name'.
Thanks!

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Any update on this? Regards.