diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/html/dom.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim index 67f0c666..b7b23356 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -1739,7 +1739,7 @@ func inputString*(input: HTMLInputElement): string = of INPUT_CHECKBOX, INPUT_RADIO: if input.checked: "*" else: " " - of INPUT_SEARCH, INPUT_TEXT: + of INPUT_SEARCH, INPUT_TEXT, INPUT_EMAIL, INPUT_URL, INPUT_TEL: input.value.padToWidth(int(input.attrulgz("size").get(20))) of INPUT_PASSWORD: '*'.repeat(input.value.len).padToWidth(int(input.attrulgz("size").get(20))) |