From 7252e6da14f8babb3c9ee6cd83ae745415a6e9d7 Mon Sep 17 00:00:00 2001 From: kovsu <2583695112@qq.com> Date: Wed, 15 Jan 2025 11:03:39 +0800 Subject: [PATCH] feat(rsshub): add minimum value to input field --- apps/renderer/src/modules/rsshub/set-modal-content.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/renderer/src/modules/rsshub/set-modal-content.tsx b/apps/renderer/src/modules/rsshub/set-modal-content.tsx index 5a0fa58813..3f6a0751a4 100644 --- a/apps/renderer/src/modules/rsshub/set-modal-content.tsx +++ b/apps/renderer/src/modules/rsshub/set-modal-content.tsx @@ -131,6 +131,7 @@ export function SetModalContent({ inputMode="numeric" pattern="[0-9]*" max={12} + min={hasPurchase ? 0 : 1} {...field} />