You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.**Use Existing Filament Components**: Build on Filament's components like `Select`, `TextInput`, etc.
294
-
2.**Follow Naming Conventions**: Use kebab-case for keys (e.g., `star-rating`, `country-select`)
295
-
3.**Choose the Right Data Type**: Select the data type that matches how your field's values should be stored
296
-
4.**Use Closures for Flexibility**: For complex components, use closure-based definitions
297
-
5.**Test Your Components**: Ensure your field type works in forms, tables, and infolists
298
-
6.**Consider Validation**: Only allow validation rules that make sense for your field type
294
+
2.**Follow Naming Conventions**: Use kebab-case for keys (e.g., `acme-star-rating`, `myapp-country-select`)
295
+
3.**Prefix Keys with Project/Org Name**: Always prefix custom field type keys with your project or organization name to avoid conflicts with built-in types (e.g., `acme-priority` instead of `priority`)
296
+
4.**Choose the Right Data Type**: Select the data type that matches how your field's values should be stored
297
+
5.**Use Closures for Flexibility**: For complex components, use closure-based definitions
298
+
6.**Test Your Components**: Ensure your field type works in forms, tables, and infolists
299
+
7.**Consider Validation**: Only allow validation rules that make sense for your field type
0 commit comments