mirror of
https://github.com/idanoo/autobrr
synced 2025-07-24 01:09:13 +00:00
feat(actions): qbit rules set ratio and seed time limits (#264)
This commit is contained in:
parent
43d37fc859
commit
8b1174c65f
8 changed files with 86 additions and 6 deletions
|
@ -131,12 +131,14 @@ interface NumberFieldProps {
|
|||
name: string;
|
||||
label?: string;
|
||||
placeholder?: string;
|
||||
step?: number;
|
||||
}
|
||||
|
||||
export const NumberField = ({
|
||||
name,
|
||||
label,
|
||||
placeholder
|
||||
placeholder,
|
||||
step,
|
||||
}: NumberFieldProps) => (
|
||||
<div className="col-span-12 sm:col-span-6">
|
||||
<label htmlFor={name} className="block text-xs font-bold text-gray-700 dark:text-gray-200 uppercase tracking-wide">
|
||||
|
@ -151,6 +153,7 @@ export const NumberField = ({
|
|||
<div className="sm:col-span-2">
|
||||
<input
|
||||
type="number"
|
||||
step={step}
|
||||
{...field}
|
||||
className={classNames(
|
||||
meta.touched && meta.error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue