renamed protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
e1f34a743e
commit
90976d773a
@ -13,7 +13,7 @@ import Combine
|
|||||||
|
|
||||||
/// Base Class used to build out a Input controls.
|
/// Base Class used to build out a Input controls.
|
||||||
@objc(VDSEntryField)
|
@objc(VDSEntryField)
|
||||||
open class EntryFieldBase: Control, Changeable, FormFieldValidatable {
|
open class EntryFieldBase: Control, Changeable, FormFieldInternalValidatable {
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Initializers
|
// MARK: - Initializers
|
||||||
|
|||||||
@ -19,7 +19,7 @@ public protocol FormFieldable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Protocol for FormFieldable that require internal validation.
|
/// Protocol for FormFieldable that require internal validation.
|
||||||
public protocol FormFieldValidatable: FormFieldable {
|
public protocol FormFieldInternalValidatable: FormFieldable {
|
||||||
/// Is there an internalError
|
/// Is there an internalError
|
||||||
var hasInternalError: Bool { get }
|
var hasInternalError: Bool { get }
|
||||||
/// Internal Error Message that will show.
|
/// Internal Error Message that will show.
|
||||||
@ -66,7 +66,6 @@ public struct AnyRule<ValueType>: Rule {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Generic Validator for a specific FormFieldable.
|
/// Generic Validator for a specific FormFieldable.
|
||||||
public class FormFieldValidator<Field:FormFieldable>: FormFieldValidatorable{
|
public class FormFieldValidator<Field:FormFieldable>: FormFieldValidatorable{
|
||||||
public var field: Field
|
public var field: Field
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user