fix(web): fix search 400 error when only entering m: (#2261)

Co-authored-by: faupau03 <paul.paffe@gmx.net>
pull/2255/head
faupau 2023-04-16 21:37:28 +07:00 committed by GitHub
parent 5b241f0b64
commit ae3ea9e531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

@ -71,6 +71,7 @@
: 'rounded-3xl bg-gray-200 border border-transparent'}" : 'rounded-3xl bg-gray-200 border border-transparent'}"
placeholder="Search your photos" placeholder="Search your photos"
required required
pattern="^(?!m:$).*$"
bind:value bind:value
/> />
</label> </label>