Fix inputid regex

This commit is contained in:
ernstmul
2024-10-28 17:42:19 +01:00
parent 520df0a5e5
commit ffd09ff89f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
let element: HTMLInputElement;
let icon = 'info';
const pattern = String.raw`^[a-zA-Z0-9][a-zA-Z0-9\-]*$`;
const pattern = String.raw`^[a-zA-Z0-9][a-zA-Z0-9._\-]*$`;
onMount(() => {
if (element && autofocus) {
@@ -33,6 +33,7 @@
<CustomId
bind:show={showCustomId}
name="Project"
isProject={true}
bind:id={$createProject.id}
fullWidth />
{/if}