Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InputWithSelectProps<T>

Type Parameters

  • T extends HTMLElement

Hierarchy

Index

Properties

defaultValue?: string
disabled?: boolean
id: string
label: string
onChange?: ((event: ChangeEvent<Element>) => void)

Type declaration

    • (event: ChangeEvent<Element>): void
    • Parameters

      • event: ChangeEvent<Element>

      Returns void

onKeyDown?: ((event: KeyboardEvent<HTMLInputElement>) => void)

Type declaration

    • (event: KeyboardEvent<HTMLInputElement>): void
    • Parameters

      • event: KeyboardEvent<HTMLInputElement>

      Returns void

options: string[]
passRef?: LegacyRef<T>
placeholder?: string
title?: string
value?: string

Methods

  • onInputChange(e: ChangeEvent<HTMLInputElement>): void
  • onSelectChange(e: ChangeEvent<Element>): void