Thank you for the quick respond.
Is possible to add the "disable" property in the toggle_type option?
If not how can I check if the file_upload is empty or not when the file_upload is change?
I tried the following but it doesn't work properly:
jQuery('.rwmb-file_upload').on( 'change', function() {
var uploaded = jQuery('.rwmb-media-input').val();
if ( uploaded ) {
//code here
}
});