CLASS

TextFormField

Contents

swift
public final class TextFormField: FormField, OptionalValueString

A text form field.

Properties

kind

swift
public let kind: Kind?

The kind of the field. The kind of a field specializes its meaning, allowing clients that support a certain "kind" to provide an improved user experience.

value

swift
public let value: String?

The current value of the text field.

Methods

encode(to:)

swift
override public func encode(to encoder: Encoder) throws