Create & create another button is still enabled
Problem description
I have two observation
If the internet is slow and you upload a video and when it's still not 100% uploaded the Create button is clickable
If you upload a video and while it's uploading in progress the Create & create another button is clickable
Expected behavior
On the slow internet connection if the video is not 100% in progress the create button should still be disabled and display error instead that the internet is slow and cannot be uploaded
On uploading video while in progress the Create & create another button should be disabled same on the create button
Steps to reproduce
Just used the typical file upload entry
Forms\Components\FileUpload::make('new_advertisement')
->label('New Video')
->maxSize(80000)
->acceptedFileTypes([
'video/mp4',
'video/mpeg'
])
->storeFiles(false)
->moveFiles(),
0 Replies