Skip to content

Commit

Permalink
Merge pull request #128 from is-a-dev/VaibhavSys-patch-1
Browse files Browse the repository at this point in the history
fix: convert domain input to lowercase
  • Loading branch information
wdhdev committed Jan 12, 2024
2 parents 0b61705 + 1d15269 commit 62db6c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/register/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
placeholder="johndoe"
autofocus
on:input={async (e) => {
e.target.value = e.target.value.toLowerCase();
if (!e.target.value || e.target.value === '' || e.target.value.length < 2 ) {
availableStatus = 'Start typing';
availableStatusClasses = '';
Expand Down

0 comments on commit 62db6c4

Please sign in to comment.