mirror of https://gitlab.com/bashrc2/epicyon
No default placeholder
parent
9358e9bd2c
commit
b1b3d1712f
|
@ -1195,7 +1195,7 @@ def editCurrencyField(label: str, name: str, value: str = "0.00",
|
||||||
"""
|
"""
|
||||||
if value is None:
|
if value is None:
|
||||||
value = '0.00'
|
value = '0.00'
|
||||||
placeholderStr = '0.00'
|
placeholderStr = ''
|
||||||
if placeholder:
|
if placeholder:
|
||||||
if placeholder.isdigit():
|
if placeholder.isdigit():
|
||||||
placeholderStr = ' placeholder="' + str(placeholder) + '"'
|
placeholderStr = ' placeholder="' + str(placeholder) + '"'
|
||||||
|
|
Loading…
Reference in New Issue