Skip to content

Conversation

@Ateina
Copy link
Contributor

@Ateina Ateina commented Apr 23, 2025

Q A
Bug fix? [ ]
New feature? [ X ]
New sample? [ ]
Related issues? fixes #921

This PR introduces enhancements to the FilePicker component:

tabOrder: Allows defining a custom display order for tabs. Tabs not included in the array will follow the default order. This respects the hide... props—if a tab is hidden, it will not be shown even if it's listed in tabOrder.

defaultSelectedTab: Sets the initially selected tab. If not specified or if the specified tab is hidden, the first visible tab is used instead.

PR adds the FilePickerTab enum to represent all available tab types in a type-safe way.

@joaojmendes joaojmendes self-assigned this Jul 13, 2025
@joaojmendes joaojmendes added the status:fixed-next-drop Issue will be fixed in upcoming release. label Jul 13, 2025
@joaojmendes joaojmendes added this to the 3.22.0 milestone Jul 13, 2025
@joaojmendes
Copy link
Collaborator

@Ateina Thank you for your fix.

@joaojmendes joaojmendes merged commit 0c6f832 into pnp:dev Jul 13, 2025
1 check passed
@Ateina Ateina deleted the 921-filepicker-order-of-tabs branch July 15, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:fixed-next-drop Issue will be fixed in upcoming release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants