Overview
Comment:New release
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev | 1.0.0-rc4
Files: files | file ages | folders
SHA1: 7751af5e6f4fe602db96ce7fbfa3f6fae8b25df2
User & Date: bohwaz on 2020-12-02 12:12:47
Other Links: branch diff | manifest | tags
Context
2020-12-02
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
12:10
Allow strings in openDialog check-in: e7d6cc08d8 user: bohwaz tags: dev
Changes

Modified src/VERSION from [fe6e76a10d] to [e1f4423d2c].

1
1.0.0-rc3
|
1
1.0.0-rc4

Modified src/include/lib/Garradin/Template.php from [dc008398eb] to [57b3ee6f6b].

254
255
256
257
258
259
260




261
262
263
264
265
266
267
			if ($v = \DateTime::createFromFormat('!Y-m-d', $current_value)) {
				$current_value = $v->format('d/m/Y');
			}
		}

		$attributes['id'] = 'f_' . $name;
		$attributes['name'] = $name;





		if ($type == 'radio' || $type == 'checkbox') {
			$attributes['id'] .= '_' . $value;

			if ($current_value == $value) {
				$attributes['checked'] = 'checked';
			}







>
>
>
>







254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
			if ($v = \DateTime::createFromFormat('!Y-m-d', $current_value)) {
				$current_value = $v->format('d/m/Y');
			}
		}

		$attributes['id'] = 'f_' . $name;
		$attributes['name'] = $name;

		if (!isset($attributes['autocomplete'])) {
			$attributes['autocomplete'] = 'off';
		}

		if ($type == 'radio' || $type == 'checkbox') {
			$attributes['id'] .= '_' . $value;

			if ($current_value == $value) {
				$attributes['checked'] = 'checked';
			}