TextFieldFormView
public struct TextFieldFormView
extension TextFieldFormView: View
extension TextFieldFormView: _ViewEmptyChecking
Undocumented
-
init(title:
text: isSecureEnabled: placeholder: controlState: errorMessage: maxTextLength: hintText: hidesReadOnlyHint: isCharCountEnabled: allowsBeyondLimit: charCountReachLimitMessage: charCountBeyondLimitMsg: actionIcon: action: actionIconAccessibilityLabel: componentIdentifier: ) Undocumented
Declaration
Swift
public init(@ViewBuilder title: () -> any View, text: Binding<String>, isSecureEnabled: Bool? = false, @ViewBuilder placeholder: () -> any View = { EmptyView() }, controlState: ControlState = .normal, errorMessage: AttributedString? = nil, maxTextLength: Int? = nil, hintText: AttributedString? = nil, hidesReadOnlyHint: Bool = false, isCharCountEnabled: Bool = false, allowsBeyondLimit: Bool = false, charCountReachLimitMessage: String? = nil, charCountBeyondLimitMsg: String? = nil, actionIcon: Image? = nil, action: (() -> Void)? = nil, actionIconAccessibilityLabel: String? = nil, componentIdentifier: String? = TextFieldFormView.identifier)
-
Undocumented
Declaration
Swift
static let identifier: String
-
init(title:
text: isSecureEnabled: placeholder: controlState: errorMessage: maxTextLength: hintText: hidesReadOnlyHint: isCharCountEnabled: allowsBeyondLimit: charCountReachLimitMessage: charCountBeyondLimitMsg: mandatoryFieldIndicator: isRequired: actionIcon: action: actionIconAccessibilityLabel: ) Undocumented
Declaration
Swift
init(title: AttributedString, text: Binding<String>, isSecureEnabled: Bool? = false, placeholder: AttributedString? = nil, controlState: ControlState = .normal, errorMessage: AttributedString? = nil, maxTextLength: Int? = nil, hintText: AttributedString? = nil, hidesReadOnlyHint: Bool = false, isCharCountEnabled: Bool = false, allowsBeyondLimit: Bool = false, charCountReachLimitMessage: String? = nil, charCountBeyondLimitMsg: String? = nil, mandatoryFieldIndicator: TextOrIcon? = .text("*"), isRequired: Bool = false, actionIcon: Image? = nil, action: (() -> Void)? = nil, actionIconAccessibilityLabel: String? = nil)
-
Undocumented
Declaration
Swift
init(_ configuration: TextFieldFormViewConfiguration)
-
Declaration
Swift
public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }