UIDocumentPickerViewController allowMultipleSelection

The UIDocumentPickerViewController is not allowing me to select multiple files when the Search Field is filled with some string.

If I search for files in a folder, the select button does not appear even though I set the allowMultipleSelection to true.

I am using SwiftUI with UIViewControllerRepresentable wrapper. I set allowMultipleSelection both when I makeUIViewController and when I updateUIViewController.

Is there a work-around for this?

UIDocumentPickerViewController allowMultipleSelection
 
 
Q