public FieldSelect(Controller2Garin controller, FieldBaseAttribute Attribute, string PropertyName) : base(controller, Attribute, PropertyName)
 {
     SelectRepository    = Attribute.SelectRepository;
     SelectValueName     = Attribute.SelectValueName;
     SelectParentName    = Attribute.SelectParentName;
     SelectTitleName     = Attribute.SelectTitleName;
     SelectValuesJson    = Attribute.SelectValuesJson;
     SelectOnlyUnblocked = Attribute.SelectOnlyUnblocked;
     SelectTreePrefix    = Attribute.SelectTreePrefix ?? "    ";
 }
        public Field(Controller2Garin controller, FieldBaseAttribute Attribute, string propertyName)
        {
            _init(controller, null, null, Attribute.HtmlType, Attribute.IsRequired,
                  Attribute.NeedTranslate, Attribute.IsMultiple, propertyName, Attribute.Priority, Attribute.Default == null ? null : new List <string>()
            {
                Attribute.Default
            },
                  Attribute.Compare, Attribute.Format);

            Title       = LocalizeFieldKey("title", false) ?? PropertyName;
            Placeholder = LocalizeFieldKey("placeholder", false);
        }
 public FieldFile(Controller2Garin controller, FieldBaseAttribute Attribute, string PropertyName) : base(controller, Attribute, PropertyName)
 {
 }