TextFieldFormView
public struct TextFieldFormView
extension TextFieldFormView: View
extension TextFieldFormView: _ViewEmptyChecking
Undocumented
-
init(title:
text: placeholder: controlState: errorMessage: maxTextLength: hintText: hidesReadOnlyHint: isCharCountEnabled: allowsBeyondLimit: charCountReachLimitMessage: charCountBeyondLimitMsg: mandatoryFieldIndicator: isRequired: actionIcon: action: ) Undocumented
Declaration
Swift
public init(@ViewBuilder title: () -> any View, text: Binding<String>, @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, @ViewBuilder mandatoryFieldIndicator: () -> any View = { EmptyView() }, isRequired: Bool = false, actionIcon: Image? = nil, action: (() -> Void)? = nil)
-
init(title:
text: placeholder: controlState: errorMessage: maxTextLength: hintText: hidesReadOnlyHint: isCharCountEnabled: allowsBeyondLimit: charCountReachLimitMessage: charCountBeyondLimitMsg: mandatoryFieldIndicator: isRequired: actionIcon: action: ) Undocumented
Declaration
Swift
init(title: AttributedString, text: Binding<String>, 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)
-
Undocumented
Declaration
Swift
init(_ configuration: TextFieldFormViewConfiguration)
-
Declaration
Swift
public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }