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 } -
NSAttributedStringdescribes themandatoryIndicator. If set by developers, it overrides the value of themandatoryIndicatorproperty.Declaration
Swift
var mandatoryFieldAttributedText: NSAttributedString! { get set } -
NUIStyleClassPath for
mandatoryFieldpropertyDeclaration
Swift
var mandatoryFieldStyleClassPath: [FioriStyle] { get set }
-
mandatoryFieldAttributedTextDefault implementationDefault Implementation
Developers format the
NSAttributedStringto display it as the mandatory indicator.Declaration
Swift
public var mandatoryFieldAttributedText: NSAttributedString! { get set }
-
mandatoryFieldStyleClassPathDefault implementationDefault Implementation
NUIStyleClassPath for
mandatoryFieldpropertyDeclaration
Swift
public var mandatoryFieldStyleClassPath: [FioriStyle] { get set }