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

Co-authored-by: faupau03 <paul.paffe@gmx.net>
This commit is contained in:
faupau 2023-04-16 21:37:28 +02:00 committed by GitHub
parent 5b241f0b64
commit ae3ea9e531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>