CreationKit Documentation

Structure Form​Configuration.​Text​Input​Configuration

public struct TextInputConfiguration  

Member Of

FormConfiguration

A type to configure a FormViewController.

Initializers

init(title:​subtitle:​text:​placeholder:​helper:​key:​is​Optional​Field:​max​Characters:​keyboard​Type:​debounce​Time​Interval:​)

public init(title: String?, subtitle: String?,
                text: String?, placeholder: String,
                helper: String?, key: FormItem.Key,
                isOptionalField: Bool = false,
                maxCharacters: UInt = 0,
                keyboardType: UIKeyboardType = .default,
                debounceTimeInterval: DispatchQueue.SchedulerTimeType.Stride = .milliseconds(500)
    )