Overview
Comment: | Only disable autocomplete on some inputs |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev | 1.0.0-rc4 |
Files: | files | file ages | folders |
SHA1: |
e47a8227812d3b77d6e1cbc77c87d11d |
User & Date: | bohwaz on 2020-12-02 12:15:05 |
Other Links: | branch diff | manifest | tags |
Context
2020-12-02
| ||
12:31 | Order fees by amount check-in: b63a216b8b user: bohwaz tags: dev, 1.0.0-rc4 | |
12:15 | Only disable autocomplete on some inputs check-in: e47a822781 user: bohwaz tags: dev, 1.0.0-rc4 | |
12:12 | New release check-in: 7751af5e6f user: bohwaz tags: dev, 1.0.0-rc4 | |
Changes
Modified src/include/lib/Garradin/Template.php from [57b3ee6f6b] to [113af9d710].
︙ | ︙ | |||
255 256 257 258 259 260 261 | $current_value = $v->format('d/m/Y'); } } $attributes['id'] = 'f_' . $name; $attributes['name'] = $name; | | | 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | $current_value = $v->format('d/m/Y'); } } $attributes['id'] = 'f_' . $name; $attributes['name'] = $name; if (!isset($attributes['autocomplete']) && ($type == 'money' || $type == 'password')) { $attributes['autocomplete'] = 'off'; } if ($type == 'radio' || $type == 'checkbox') { $attributes['id'] .= '_' . $value; if ($current_value == $value) { |
︙ | ︙ |