diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-12 22:41:36 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-12 22:42:55 +0100 |
commit | 1960de266d72eb9f3b5c025f1325c116d8d09319 (patch) | |
tree | ff65ba7a1b696bdcfa3105d754a97199528e564f /src/html | |
parent | c2bc54b88fdd0297255d21192f4936e3a9de0075 (diff) | |
download | chawan-1960de266d72eb9f3b5c025f1325c116d8d09319.tar.gz |
buffer: form fixes
* show submission URL on hover for all form-associated elements * skip non-checked checkbox/radio inputs
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/enums.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/html/enums.nim b/src/html/enums.nim index baa948a0..6d1a0771 100644 --- a/src/html/enums.nim +++ b/src/html/enums.nim @@ -122,3 +122,8 @@ const inputTypeMap = getInputTypeMap() func inputType*(s: string): InputType = return inputTypeMap.getOrDefault(s.toLowerAscii()) + +const AutoDirInput* = { + INPUT_HIDDEN, INPUT_TEXT, INPUT_SEARCH, INPUT_TEL, INPUT_URL, INPUT_EMAIL, + INPUT_PASSWORD, INPUT_SUBMIT, INPUT_RESET, INPUT_BUTTON +} |