Fix numeric filter to allow 3 decimal places by default
This commit is contained in:
parent
4101e056e4
commit
e80f8b31c1
|
@ -74,6 +74,7 @@ class NumericValueRenderer(FilterValueRenderer):
|
|||
"""
|
||||
|
||||
def render(self, value=None, **kwargs):
|
||||
kwargs.setdefault('step', '0.001')
|
||||
return tags.text(self.name, value=value, type='number', **kwargs)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue