def default_file_field_options(method)
      {
        multiple: @object.send(method).is_a?(ActiveStorage::Attached::Many),
        direct_upload: true,
        style: 'display:none;',
        data: {
          dnd: true,
          dnd_zone_id: "asdndz-#{object_name}_#{method}",
          icon_container_id: "asdndz-#{object_name}_#{method}__icon-container"
        }
      }
    end
def default_file_field_options(method)
      {
        multiple: @object.send(method).is_a?(ActiveStorage::Attached::Many),
        direct_upload: true,
        style: 'display:none;',
        data: {
          dnd: true,
          dnd_zone_id: "asdndz-#{object_name}_#{method}",
          icon_container_id: "asdndz-#{object_name}_#{method}__icon-container"
        }
      }
    end
Generates a hash of default options for the embedded file input field.

 @author Ian Grant
 @param [Symbol] method The attribute on the target model to attach the files to.
 @return [Hash] The default options  for the file field