Skip to content

Commit c1a161b

Browse files
committed
feat: add RegEx option to text fields
1 parent a202a32 commit c1a161b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/NotFound/Layout/Inputs/LayoutInputText.php

+8-1
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,18 @@ public function setEndpoint(string $endPoint): self
1414

1515
return $this;
1616
}
17+
18+
public function setRegEx(string $regEx): self
19+
{
20+
$this->properties->regEx = $regEx;
21+
22+
return $this;
23+
}
1724

1825
public function getAjaxDataPost(): array
1926
{
2027
return [
2128
'location' => 'test.jpg',
2229
];
2330
}
24-
}
31+
}

0 commit comments

Comments
 (0)