Skip to content

Commit

Permalink
fixed fix
Browse files Browse the repository at this point in the history
  • Loading branch information
simialbi committed Aug 16, 2017
1 parent ca70c44 commit 57ce0c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion models/SearchAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ public function fields() {
return array_merge(
parent::fields(),
[
'query-input' => 'required'
'query-input' => function () {
return 'required';
}
]
);
}
Expand Down
4 changes: 3 additions & 1 deletion views/schema-org/model-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public function fields() {
return array_merge(
parent::fields(),
[
'query-input' => 'required'
'query-input' => function () {
return 'required';
}
]
);
}
Expand Down

0 comments on commit 57ce0c3

Please sign in to comment.