Closed Sensiblemnd closed 3 years ago
@Sensiblemnd thanks for checking and opening the issue.
I’ve tried a different approach and switched from is-invalid-path
to valid-filename
. Pleas check out v1.5.3-beta.0 and let me know if it fixes the issue for you!
@Sensiblemnd did you have a chance to try the fix?
Sorry not yet
Ok tested. Works good
Closed via 708bcba88e76b050fbf4c18bcd39d0847c583514.
You could try something like this until the bug is fixed
isInvalid(value, { windows: process.platform === 'win32' }) ? 'Please enter a valid path' : true,