mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-04-26 05:45:40 +08:00
validate presence of a picker item (at least one item must be selected)
This commit is contained in:
@@ -48,4 +48,12 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Error validation
|
||||
|
||||
- (NSArray *)errors
|
||||
{
|
||||
return [REValidation validateObject:self.value name:self.name ? self.name : self.title validators:self.validators];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user