0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 12:22:44 +00:00

minimum range text to 3

This commit is contained in:
Víctor Losada Hernández
2024-05-22 19:55:20 +02:00
parent 43f77dc525
commit 54efc18ad4

View File

@@ -194,7 +194,7 @@ const ArchivePage = createClass({
onKeyUp={() => { onKeyUp={() => {
this.validateInput(); this.validateInput();
}} }}
pattern=".{2,}" pattern=".{3,}"
onKeyDown={(e) => { onKeyDown={(e) => {
if (e.key === 'Enter') { if (e.key === 'Enter') {
this.loadTotal(); this.loadTotal();