🐛 fix(subscribe): Update value validation to check for number type in subscribe form
This commit is contained in:
@@ -516,7 +516,7 @@ export default function SubscribeForm<T extends Record<string, any>>({
|
||||
placeholder={t('form.selectResetCycle')}
|
||||
{...field}
|
||||
onChange={(value) => {
|
||||
if (value >= 0) {
|
||||
if (typeof value === 'number') {
|
||||
form.setValue(field.name, value);
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user