diff --git a/packages/frontend/src/components/shared/template-option.tsx b/packages/frontend/src/components/shared/template-option.tsx index 10f0435e..419e3ada 100644 --- a/packages/frontend/src/components/shared/template-option.tsx +++ b/packages/frontend/src/components/shared/template-option.tsx @@ -115,7 +115,13 @@ const TemplateOption: React.FC = ({ onChange(value) } required={required} - step={constraints?.max ? constraints?.max / 100 : 1} + step={ + constraints?.max + ? Math.floor(constraints?.max / 100) > 0 + ? Math.floor(constraints?.max / 100) + : 1 + : 1 + } disabled={isDisabled} /> {description && (