FUIMandatoryFieldComponent
public protocol FUIMandatoryFieldComponent : FUIAttributesConsumer
Component protocol for Mandatory Field properties
-
A Boolean property that indicates whether the field is mandatory
Declaration
Swift
var isRequired: Bool { get set }
-
The mandatory indicator.
Declaration
Swift
var mandatoryIndicator: FUIText { get set }
-
NSAttributedString
describes themandatoryIndicator
. If set by developers, it overrides the value of themandatoryIndicator
property.Declaration
Swift
var mandatoryFieldAttributedText: NSAttributedString! { get set }
-
NUIStyleClassPath for
mandatoryField
propertyDeclaration
Swift
var mandatoryFieldStyleClassPath: [FioriStyle] { get set }
-
mandatoryFieldAttributedText
Default implementationDefault Implementation
Developers format the
NSAttributedString
to display it as the mandatory indicator.Declaration
Swift
public var mandatoryFieldAttributedText: NSAttributedString! { get set }
-
mandatoryFieldStyleClassPath
Default implementationDefault Implementation
NUIStyleClassPath for
mandatoryField
propertyDeclaration
Swift
public var mandatoryFieldStyleClassPath: [FioriStyle] { get set }