fix: Do not autocapitalize shorturl on mobile devices

This commit is contained in:
SinTan1729 2024-11-06 21:57:56 -06:00 committed by minoplhy
parent 6006781837
commit e3b1e75d4d

View File

@ -38,7 +38,7 @@
<div class="pure-control-group">
<label for="shortUrl">Short URL (optional)</label>
<input type="text" name="shortUrl" id="shortUrl" placeholder="Only a-z, 0-9, - and _ are allowed"
pattern="[a-z0-9\-_]+" title="Only a-z, 0-9, - and _ are allowed" />
pattern="[a-z0-9\-_]+" title="Only a-z, 0-9, - and _ are allowed" autocapitalize="off"/>
</div>
<div class="pure-controls" id="controls">
<button class="pure-button pure-button-primary">Shorten!</button>