Skip to content

Commit

Permalink
Make 'Name' on 'Add a Filter' page obligatory
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomozart authored Jul 10, 2024
1 parent 21b00b6 commit 1089244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/filter.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function showForm($ID, $options = []) {
echo Html::hidden('plugin_addressing_addressings_id', ['value' => $options['items_id']]);
echo "<td>" . __('Name') . "</td>";
echo "<td>";
echo Html::input('name', ['value' => $this->fields['name'], 'size' => 40]);
echo Html::input('name', ['value' => $this->fields['name'], 'size' => 40, 'required' => '']);
echo "</td>";
echo "</tr>";

Expand Down

0 comments on commit 1089244

Please sign in to comment.