public class InputAttributeBase : MetadataAttributeBase
{
public string Type { get; set; }
public string Value { get; set; }
public string Placeholder { get; set; }
public string Help { get; set; }
public string Label { get; set; }
public string Title { get; set; }
public string Size { get; set; }
public string Pattern { get; set; }
public bool ReadOnly { get; set; }
public bool Required { get; set; }
public bool Disabled { get; set; }
public string Autocomplete { get; set; }
public string Autofocus { get; set; }
public string Min { get; set; }
public string Max { get; set; }
public int Step { get; set; } = int.MinValue; <- No support For Decimals
public int MinLength { get; set; } = int.MinValue;
public int MaxLength { get; set; } = int.MinValue;
public string Accept { get; set; }
public string Capture { get; set; }
public bool Multiple { get; set; }
public string[] AllowableValues { get; set; }
public Type AllowableValuesEnum { get; set; }
public string Options { get; set; }
public bool Ignore { get; set; }
public string EvalAllowableValues { get; set; }
public string EvalAllowableEntries { get; set; }
}
Describe the issue
public class InputAttributeBase : MetadataAttributeBase { public string Type { get; set; } public string Value { get; set; } public string Placeholder { get; set; } public string Help { get; set; } public string Label { get; set; } public string Title { get; set; } public string Size { get; set; } public string Pattern { get; set; } public bool ReadOnly { get; set; } public bool Required { get; set; } public bool Disabled { get; set; } public string Autocomplete { get; set; } public string Autofocus { get; set; } public string Min { get; set; } public string Max { get; set; } public int Step { get; set; } = int.MinValue; <- No support For Decimals public int MinLength { get; set; } = int.MinValue; public int MaxLength { get; set; } = int.MinValue; public string Accept { get; set; } public string Capture { get; set; } public bool Multiple { get; set; } public string[] AllowableValues { get; set; } public Type AllowableValuesEnum { get; set; } public string Options { get; set; } public bool Ignore { get; set; } public string EvalAllowableValues { get; set; } public string EvalAllowableEntries { get; set; } }
Reproduction
N/A
Expected behavior
Should be string? "Any" or "0.1"
System Info
Additional context
No response
Validations