KeyValueFormView
public struct KeyValueFormView
extension KeyValueFormView: View
extension KeyValueFormView: _ViewEmptyChecking
Undocumented
-
init(title:
text: placeholder: controlState: errorMessage: minTextEditorHeight: maxTextEditorHeight: maxTextLength: hintText: hidesReadOnlyHint: isCharCountEnabled: allowsBeyondLimit: charCountReachLimitMessage: charCountBeyondLimitMsg: mandatoryFieldIndicator: isRequired: ) Undocumented
Declaration
Swift
public init(@ViewBuilder title: () -> any View, text: Binding<String>, @ViewBuilder placeholder: () -> any View = { EmptyView() }, controlState: ControlState = .normal, errorMessage: AttributedString? = nil, minTextEditorHeight: CGFloat? = nil, maxTextEditorHeight: CGFloat? = 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 = { Text("*") }, isRequired: Bool = false)
-
init(title:
text: placeholder: controlState: errorMessage: minTextEditorHeight: maxTextEditorHeight: maxTextLength: hintText: hidesReadOnlyHint: isCharCountEnabled: allowsBeyondLimit: charCountReachLimitMessage: charCountBeyondLimitMsg: mandatoryFieldIndicator: isRequired: ) Undocumented
Declaration
Swift
init(title: AttributedString, text: Binding<String>, placeholder: AttributedString? = nil, controlState: ControlState = .normal, errorMessage: AttributedString? = nil, minTextEditorHeight: CGFloat? = nil, maxTextEditorHeight: CGFloat? = 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)
-
Undocumented
Declaration
Swift
init(_ configuration: KeyValueFormViewConfiguration)
-
Declaration
Swift
public var body: some View { get }
-
Undocumented
Declaration
Swift
public var isEmpty: Bool { get }