Skip to content

Commit

Permalink
feat: add RegEx option to text fields
Browse files Browse the repository at this point in the history
  • Loading branch information
64knl committed May 4, 2023
1 parent a202a32 commit c1a161b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/NotFound/Layout/Inputs/LayoutInputText.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@ public function setEndpoint(string $endPoint): self

return $this;
}

public function setRegEx(string $regEx): self
{
$this->properties->regEx = $regEx;

return $this;
}

public function getAjaxDataPost(): array
{
return [
'location' => 'test.jpg',
];
}
}
}

0 comments on commit c1a161b

Please sign in to comment.