Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stowez committed May 11, 2022
1 parent 8550f10 commit de8e78d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## 1.0.1 - 2022-05-11

- Added filterable option flag, contributed by https://github.com/nea

## 1.0.0 - 2022-04-07

- Update to support Nova 4.0
Expand Down
6 changes: 2 additions & 4 deletions src/AjaxField.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,13 @@ public function responsive(): self
{
return $this->withMeta([
'responsive' => true,
'filterable' => false //@see https://vue-select.org/guide/ajax.html#disabling-filtering
'filterable' => false, // @see https://vue-select.org/guide/ajax.html#disabling-filtering
]);
}

/**
* When loading server side options, it can be useful to disable the client side filtering. Use the filterable prop to disable filtering.
*
* @see https://vue-select.org/guide/ajax.html#disabling-filtering
*/
public function filterable(bool $filterable = true): self
Expand All @@ -112,9 +113,6 @@ public function filterable(bool $filterable = true): self
]);
}

/**
*
*/
private function setType(string $type): self
{
return $this->withMeta([
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.1.0

0 comments on commit de8e78d

Please sign in to comment.