public EntityPicker()
 {
     EntityType             = "product";
     IconCssClass           = "fa fa-search";
     HtmlAttributes["type"] = "button";
     HtmlAttributes.AppendCssClass("btn btn-secondary");
     HighlightSearchTerm = true;
     AppendMode          = true;
     Delimiter           = ",";
     FieldName           = "id";
 }
        public FileUploader(Localizer localizer)
        {
            HtmlAttributes.AppendCssClass("fu-fileupload");
            HtmlAttributes.Add("data-accept", "gif,jpeg,jpg,png");
            HtmlAttributes.Add("data-show-remove-after-upload", "false");

            if (localizer != null)
            {
                UploadText = localizer("Common.Fileuploader.Upload");
            }
        }
        public FileUploader(Localizer localizer)
        {
            HtmlAttributes.AppendCssClass("fileupload form-row align-items-center");
            HtmlAttributes.Add("data-accept", "gif|jpe?g|png");
            HtmlAttributes.Add("data-show-remove-after-upload", "false");
            IconCssClass = "fa fa-upload";
            ButtonStyle  = ButtonStyle.Secondary;

            if (localizer != null)
            {
                CancelText = localizer("Common.Fileuploader.Cancel");
                RemoveText = localizer("Common.Remove");
                UploadText = localizer("Common.Fileuploader.Upload");
            }
        }