You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My issue is about the documentation content or website
Type of issue
Information is incorrect
Description
The OpenDialogResult page shows that the result object which is of type OpenDialogResult does not have paths property. Instead it has filePaths property. Please correct the following example.
const result = await ddClient.desktopUI.dialog.showOpenDialog({
properties: ["openDirectory"],
});
if (!result.canceled) {
console.log(result.paths); // <-------------------- no paths but filePaths.
}
Is this a docs issue?
Type of issue
Information is incorrect
Description
The OpenDialogResult page shows that the
result
object which is of typeOpenDialogResult
does not havepaths
property. Instead it hasfilePaths
property. Please correct the following example.Location
https://docs.docker.com/extensions/extensions-sdk/dev/api/dashboard/
Suggestion
No response
The text was updated successfully, but these errors were encountered: