Skip to content

Commit 5b2f6ea

Browse files
committed
Disable Windows path regex for now since it seems to cause issues on some Windows systems
1 parent 252725f commit 5b2f6ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

@webwriter/core/view/elements/datainputs/pathinput.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export class PathInput extends SlInput implements DataInput {
3838

3939
// @ts-ignore
4040
get pattern() {
41+
return unixPathPattern // TODO: Issue with Windows regex on some systems?
4142
return window.WEBWRITER_ENVIRONMENT.os.name === "Windows"? windowsPathPattern.source: unixPathPattern.source
4243
}
4344

0 commit comments

Comments
 (0)