F
Filament15mo ago
Rama

how to make it so that when the upload file is filled then the URL is disabled and vice versa

Tabs::make('Label') ->tabs([ Tabs\Tab::make('File') ->schema([ FileUpload::make('image') ->image() ->maxSize(300) ->columns(1) ->directory('sliders') ->storeFileNamesIn('original_filename'), ]), Tabs\Tab::make('URL') ->schema([ TextInput::make('image'), ]), ]),
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server