Skip to content

Commit

Permalink
fix(question): refactor requirement for input
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Nov 18, 2021
1 parent 455b835 commit 3934caa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/question.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,8 @@ public function showForm($ID, $options = []) {
'id' => 'name',
'autofocus' => '',
'value' => $this->fields['name'],
'class' => 'form-control required',
'class' => 'form-control',
'required' => 'required'
]);
echo '</td>';

Expand Down

0 comments on commit 3934caa

Please sign in to comment.