mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 08:47:59 +02:00
Validation changes, moved JS for Client-Side validation to Settings/Index.aspx
Still need to sort out validation for Quality Cutoff (not part of the Model so it seems to cause issues).
This commit is contained in:
@@ -11,6 +11,7 @@ namespace NzbDrone.Core.Repository.Quality
|
||||
[SubSonicPrimaryKey(true)]
|
||||
public int ProfileId { get; set; }
|
||||
|
||||
[Required (ErrorMessage = "A Name is Required")]
|
||||
[DisplayName("Name")]
|
||||
public string Name { get; set; }
|
||||
public bool UserProfile { get; set; } //Allows us to tell the difference between default and user profiles
|
||||
|
Reference in New Issue
Block a user