VisualTextInputItem

public struct VisualTextInputItem: VisualItemRepresentable

The associated value of a VisualItem of type .textInput.

  • id

    The ID representing this input text

    Declaration

    Swift

    public let id: String?
  • Label of the field (to be rendered)

    Declaration

    Swift

    public let label: String
  • The initial text value for this VisualTextInputItem

    Declaration

    Swift

    public let value: String?
  • Optional text to show before the users enters data

    Declaration

    Swift

    public let placeholder: String?
  • Whether or not this is a mandatory field that should be filled in

    Declaration

    Swift

    public let required: Bool