File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1313 * @method array getFormSchemaForConfig()
1414 * @method array getFieldAttributes()
1515 * @method array getTargetFieldAttributes($target)
16- *
16+ *
1717 * @mixin \SolutionForest\FilamentFieldGroup\FieldTypes\Configs\FieldTypeBaseConfig
18- *
18+ *
1919 * @property null|bool $translatable
2020 */
2121class FieldTypeDefinition
2222{
2323 /**
2424 * Gets the converter associated with this field type.
25- *
25+ *
2626 * The converter is responsible for transforming field values between
2727 * different representations (e.g., from database format to display format).
2828 */
@@ -32,12 +32,12 @@ public function getConverter()
3232 ->map (fn (Converter $ attribute ) => $ attribute ->converter )
3333 ->first () ?? DefaultConverter::class;
3434 }
35-
35+
3636 /**
3737 * Retrieves the enhanced form schema for the field.
3838 *
39- * This method returns an enhanced schema that defines how the field
40- * should be rendered and processed in forms, potentially including
39+ * This method returns an enhanced schema that defines how the field
40+ * should be rendered and processed in forms, potentially including
4141 * additional validation, formatting, or UI-related configuration.
4242 */
4343 public function getEnhancedFormSchema ()
Original file line number Diff line number Diff line change @@ -678,8 +678,7 @@ private static function configureFileFieldTypeConfigFormSchema(array $schema)
678678 ->afterStateHydrated (function ($ component ) {
679679 $ component ->state (true );
680680 });
681- }
682- else if ($ component instanceof \Filament \Forms \Components \Tabs
681+ } elseif ($ component instanceof \Filament \Forms \Components \Tabs
683682 || $ component instanceof \Filament \Forms \Components \Tabs \Tab
684683 ) {
685684 $ component ->childComponents (static ::configureFileFieldTypeConfigFormSchema ($ component ->getChildComponents ()));
You can’t perform that action at this time.
0 commit comments