mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
More validation for Settings.
This commit is contained in:
parent
8f3d4e3128
commit
c0e0bf7e66
16 changed files with 185 additions and 66 deletions
|
@ -13,7 +13,7 @@ namespace NzbDrone.Web.Models
|
|||
[DisplayName("Username")]
|
||||
[Description("Username for NZB Matrix")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
[RequiredIf("NzbMatrixEnabled", true, ErrorMessage = "USername Required when NZBMatrix is enabled")]
|
||||
[RequiredIf("NzbMatrixEnabled", true, ErrorMessage = "Username Required when NZBMatrix is enabled")]
|
||||
public String NzbMatrixUsername { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue