Form/Settings: fix tbxIRR_Perc min/max validation
This commit is contained in:
parent
0246916fca
commit
f8adc2e8c7
@ -210,7 +210,7 @@ const overrideRender: Partial<Record<keyof typeof map, RenderProps>> = {
|
||||
title={title}
|
||||
addon={`${formatter(min)}% - ${formatter(max)}%`}
|
||||
/>
|
||||
<Element {...props} min={min} max={max} />
|
||||
<Element {...props} min={min > 0 ? min : undefined} max={max > 0 ? max : undefined} />
|
||||
</Container>
|
||||
);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user