We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac734e commit 6b510acCopy full SHA for 6b510ac
1 file changed
src/Helpers/FieldTypeHelper.php
@@ -128,7 +128,11 @@ public static function getFieldConfigFormSchemaForFieldType($typeName)
128
129
public static function getFieldTypeConfig(string $typeName, array $config = []): ?FieldTypeConfig
130
{
131
- return FilamentFieldGroup::getFieldTypeConfig($typeName, $config);
+ try{
132
+ return FilamentFieldGroup::getFieldTypeConfig($typeName, $config);
133
+ } catch (\Exception $e) {
134
+ return null;
135
+ }
136
}
137
138
public static function getFieldTypeOptions(?string $search = null, array $excepts = []): array
0 commit comments