We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51fd550 commit accecb5Copy full SHA for accecb5
src/Grid/Filter/Presenter/Text.php
@@ -162,11 +162,7 @@ public function inputmask($options = [], $icon = 'pencil'): self
162
{
163
$options = json_encode($options);
164
165
- if (is_array($this->filter->getId())) {
166
- $ids = $this->filter->getId();
167
- } else {
168
- $ids[] = $this->filter->getId();
169
- }
+ $ids = (array)$this->filter->getId();
170
171
foreach ($ids as $id) {
172
Admin::script("$('#{$this->filter->getFilterBoxId()} input.{$id}').inputmask($options);");
0 commit comments