- What is deldius/filament-user-field used for?
- It provides a Filament form field for selecting Laravel user accounts in admin panels. It adds a searchable, customizable user picker so records can be associated with users more easily.
- How do I install deldius/filament-user-field in a Laravel app?
- Install it with Composer in your Laravel project, then use the field in a Filament form schema. The provided context does not include the exact install command or namespace, so check the package README for the current class name and any setup steps.
- Which Laravel and Filament versions does this package support?
- The provided context does not list supported Laravel or Filament versions, so verify compatibility in the package README and Composer constraints before installing. Because it is a Filament form field, match it to your application's Filament major version.
- How do I add a searchable user picker to a Filament form?
- Use the package's field class inside your Filament form schema where you need to select a user. Since the exact API is not included in the provided context, follow the README example for the correct namespace and configuration options.
- Can I customize which users appear in the user field?
- The package is described as customizable, so you can adapt the user options to your application's needs, such as limiting the query or changing labels. The exact configuration API is not included in the provided context, so review the README for supported customization methods.
- Does the field support searching users by name or email?
- The field is described as searchable, making it easier to find users in large accounts. The context does not specify default searchable columns, so confirm whether name, email, or custom attributes are supported in the package documentation.
- How do I test a Filament form that uses a user picker field?
- Test the form as you would any Filament form: create users, render the form, and assert the selected user is saved. Use Laravel's testing helpers and Filament's form testing utilities where available. If the field uses searchable queries, include tests for filtering behavior.
- Is deldius/filament-user-field suitable for production admin panels?
- It is intended for admin panels and can be suitable for production if it matches your Filament version and is tested against your user model. Review the package's maintenance status and the security implications of exposing user lists in admin forms.
- Are there alternatives to using a user select field in Filament?
- You can use Filament's built-in select or relationship fields with a user relationship, or build a custom searchable select. This package packages that pattern as a reusable field with customization.
- How is deldius/filament-user-field maintained and updated?
- The provided context does not include maintenance details such as release cadence or issue activity. Check the package's repository, Composer metadata, and recent releases before adopting it for long-term use.