Skip to content

PropertyFieldCollectionData is not setting sortIdx on resulting collection when using 'Add and Save' #929

@kpfeuffer

Description

@kpfeuffer

Category

[ ] Enhancement

[x] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 2.6.0 ]

If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.

Expected / Desired Behavior / Question

The PropertyPaneFieldCollectionData with enableSoting enabled always returns a collection with the corresponding sort-position.

Observed Behavior

When using the PropertyFieldCollectionData with enableSoriting set to true, the corresponding sortIdx is not set when using the Save & Add-Button, but the value is set when saving the panel again or using the Add-Buttons on the right side.

I've also created an issue for the sp-dev-fx-property-controls, where the issue originally came up.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions