Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List fields have no filters in CollectionFilter #59

Open
erikgaal opened this issue Aug 22, 2018 · 0 comments
Open

List fields have no filters in CollectionFilter #59

erikgaal opened this issue Aug 22, 2018 · 0 comments
Milestone

Comments

@erikgaal
Copy link
Contributor

Describe the bug
List fields have no filter inputs in the CollectionFilterType.

To Reproduce
Add a list field to a definition and no filter input fields are created for it. In the following example there are no filter inputs in the ArticleFilter for the values field.

class ArticleDefinition {
    use Introspectable;

    public function fields(): array
    {
        return [
            'title' => Bakery::string(),
            'values' => Bakery::string()->list(),
        ];
    }
} 
  • Laravel Version: [e.g. 5.6.23]
  • Bakery Version: 2.0.0-beta.1
@robertvansteen robertvansteen added this to the 2.1 milestone Nov 20, 2018
@robertvansteen robertvansteen modified the milestones: 2.1, 3.0 Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants