Skip to content

feat(Form Component): handle boolean types & adjust migrations per mark #45 #46

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

Draft
wants to merge 3 commits into
base: 2.x
Choose a base branch
from

Conversation

Abdulmajeed-Jamaan
Copy link
Collaborator

No description provided.

@Abdulmajeed-Jamaan Abdulmajeed-Jamaan self-assigned this Jun 4, 2025
@Abdulmajeed-Jamaan Abdulmajeed-Jamaan marked this pull request as draft June 4, 2025 01:57
Copy link
Member

@atmonshi atmonshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

notes

*/
protected array | Arrayable | Closure | null $colors = null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these were from filament, to account for any scenario.
I think allowing Closures is a good idea

*/
protected array | Closure | null $selectedIcons = null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think also better to allow at least Closure

@Abdulmajeed-Jamaan
Copy link
Collaborator Author

notes

Understandable, but do you have in mind any real use case for it ?

I prefer to handle use cases as needed, and we can handle closures anytime later without breaking changes.

@atmonshi
Copy link
Member

Understandable, but do you have in mind any real use case for it ?

set the color based on the current tenant from its profile!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants