]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
tags.html: ensure value is number and its range is 0-100 8816/head
authorMarc Foley <m.foley.88@gmail.com>
Wed, 8 Jan 2025 10:57:51 +0000 (10:57 +0000)
committerMarc Foley <m.foley.88@gmail.com>
Wed, 8 Jan 2025 10:57:51 +0000 (10:57 +0000)
.ci/tags.html

index f0b97f41cacafcc3f91f6b81c61b6543b1fef460..5263fbe8fadfad7cf7e1649f89e8968c00ba12e2 100644 (file)
@@ -77,7 +77,7 @@
             <datalist id="items">
               <option v-for="family in uniqueFamilies" :value="family">
             </datalist>
-            <input class="join-item input input-xs input-bordered btn-square" v-model="newWeight" required placeholder="Score">
+            <input type="number" max="100" min="0" class="join-item input input-xs input-bordered btn-square" v-model="newWeight" required placeholder="Score">
             <button class="join-item btn btn-xs">Add</button>
           </div>
         </form>