Fix MusicBrainz config page input validation

This commit is contained in:
Shadowghost 2023-02-19 18:12:28 +01:00
parent 3c921e25da
commit 815aa40170

View File

@ -13,8 +13,8 @@
<div class="fieldDescription">This can be a mirror of the official server or even a custom server.</div> <div class="fieldDescription">This can be a mirror of the official server or even a custom server.</div>
</div> </div>
<div class="inputContainer"> <div class="inputContainer">
<input is="emby-input" type="number" id="rateLimit" pattern="[0-9]*" required min="0" max="10000" label="Rate Limit" /> <input is="emby-input" type="number" id="rateLimit" required pattern="[0-9]*" min="0" max="10" step=".01" label="Rate Limit" />
<div class="fieldDescription">Span of time between requests in milliseconds. The official server is limited to one request every two seconds.</div> <div class="fieldDescription">Span of time between requests in seconds. The official server is limited to one request every seconds.</div>
</div> </div>
<label class="checkboxContainer"> <label class="checkboxContainer">
<input is="emby-checkbox" type="checkbox" id="replaceArtistName" /> <input is="emby-checkbox" type="checkbox" id="replaceArtistName" />