Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

default filter value #1682

Closed
neazk opened this issue Sep 17, 2024 · 0 comments
Closed

default filter value #1682

neazk opened this issue Sep 17, 2024 · 0 comments

Comments

@neazk
Copy link

neazk commented Sep 17, 2024

⚡ PowerGrid ⚡ Feature Request

Summary

default filter value

Why is this needed?

example: to hide disabled users by default

Suggested Solution(s)

a new method default() or defaultValue() to set default value

Filter::boolean('is_active', 'is_active')
                ->default(true),
@Power-Components Power-Components locked and limited conversation to collaborators Sep 27, 2024
@luanfreitasdev luanfreitasdev converted this issue into discussion #1703 Sep 27, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants