So I am using ReactOneDriveFilePicker and wrapping a Button inside it.
I want to Disable ReactOneDriveFilePicker once a File is picked. I am using state variables to manage external file link. Even if I disable the button, the overall DOM area remains clickable, and the OneDrive pop-up opens on clicking.
How do I disable this behaviour?
So I am using
ReactOneDriveFilePickerand wrapping aButtoninside it.I want to Disable
ReactOneDriveFilePickeronce a File is picked. I am using state variables to manage external file link. Even if I disable the button, the overall DOM area remains clickable, and the OneDrive pop-up opens on clicking.How do I disable this behaviour?