Skip to content

Commit

Permalink
feat(rsshub): add minimum value to input field
Browse files Browse the repository at this point in the history
  • Loading branch information
kovsu committed Jan 21, 2025
1 parent aa5d5f5 commit 7252e6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/renderer/src/modules/rsshub/set-modal-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export function SetModalContent({
inputMode="numeric"
pattern="[0-9]*"
max={12}
min={hasPurchase ? 0 : 1}
{...field}
/>
<span className="text-sm text-muted-foreground">
Expand Down

0 comments on commit 7252e6d

Please sign in to comment.