set autofocus attribute on form fields for better keyboard support (#640)

This commit is contained in:
Kevin Papst
2019-03-13 00:09:02 +01:00
committed by GitHub
parent f4d53e9006
commit 19bfff9899
8 changed files with 23 additions and 3 deletions

View File

@@ -111,6 +111,9 @@ class TimesheetEditForm extends AbstractType
'label' => 'label.begin',
'model_timezone' => $timezone,
'view_timezone' => $timezone,
'attr' => [
'autofocus' => 'autofocus',
],
]);
}