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