No default placeholder

merge-requests/30/head
Bob Mottram 2021-07-27 19:46:10 +01:00
parent 9358e9bd2c
commit b1b3d1712f
1 changed files with 1 additions and 1 deletions

View File

@ -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) + '"'