Hierarchy

  • Omit<PBUiInput, "font" | "textAlign" | "fontSize">
    • UiInputProps

Properties

clearOnSubmit?: boolean

default=true; when false, the input value is preserved after pressing Enter

color?: PBColor4

default=(0.0,0.0,0.0,1.0)

disabled: boolean
font?: UiFontType
fontSize?: ScaleUnit
multiLine?: boolean

default=false; when true, the input accepts newlines and behaves as a textarea

placeholder: string
placeholderColor?: PBColor4

default=(0.3,0.3,0.3,1.0)

textAlign?: TextAlignType
value?: string

Methods

  • function to be called on value change

    Parameters

    • value: string

    Returns void

  • function to be called on text field submit

    Parameters

    • value: string

    Returns void