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
However, if I press Cancel, a FileReference is returned. I expect that nil should be returned so I know that the user canceled the operation and my application can act accordingly.
Please let me know if there is a different way I should select a directory in Pharo13.
I also tried the following expression but it gets an error Instance of ByteString did not understand #exists because an expected FileReference was a string.
In Pharo 13, executing this code in a Playground opens a modal dialog with the opportunity to select a dialog.
However, if I press Cancel, a FileReference is returned. I expect that
nilshould be returned so I know that the user canceled the operation and my application can act accordingly.Please let me know if there is a different way I should select a directory in Pharo13.
I also tried the following expression but it gets an error
Instance of ByteString did not understand #existsbecause an expected FileReference was a string.Pharo 13.1.0
Build information: Pharo-13.1.0+SNAPSHOT.build.705.sha.3ff27d6817cce1921739fdd49bd8a14301cefe74 (64 Bit)
Build date: 13 October 2025
20251021_pharo_returns_path_on_Cancel-2025-10-21_11.59.12.mp4