Skip to content

Commit 3f32af7

Browse files
committed
Disable any regex checking on pathinput for now
1 parent ea1bd4a commit 3f32af7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ 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?
41+
42+
return ".*" // TODO: Issue with Windows regex on some systems?
4243
return window.WEBWRITER_ENVIRONMENT.os.name === "Windows"? windowsPathPattern.source: unixPathPattern.source
4344
}
4445

0 commit comments

Comments
 (0)