Skip to content

Interface: NamespaceSelectProps#

Renderer.Component.NamespaceSelectProps

Hierarchy#

NamespaceSelectProps

Table of contents#

Properties#

Methods#

Properties#

allowCreateWhileLoading#

Optional allowCreateWhileLoading: boolean

Inherited from#

SelectProps.allowCreateWhileLoading


aria-label#

Optional aria-label: string

Inherited from#

SelectProps.aria-label


aria-labelledby#

Optional aria-labelledby: string

Inherited from#

SelectProps.aria-labelledby


autoConvertOptions#

Optional autoConvertOptions: boolean

Inherited from#

SelectProps.autoConvertOptions


autoFocus#

Optional autoFocus: boolean

Inherited from#

SelectProps.autoFocus


backspaceRemovesValue#

Optional backspaceRemovesValue: boolean

Inherited from#

SelectProps.backspaceRemovesValue


blurInputOnSelect#

Optional blurInputOnSelect: boolean

Inherited from#

SelectProps.blurInputOnSelect


captureMenuScroll#

Optional captureMenuScroll: boolean

Inherited from#

SelectProps.captureMenuScroll


className#

Optional className: string

Inherited from#

SelectProps.className


classNamePrefix#

Optional classNamePrefix: string

Inherited from#

SelectProps.classNamePrefix


closeMenuOnScroll#

Optional closeMenuOnScroll: boolean | EventListener

Inherited from#

SelectProps.closeMenuOnScroll


closeMenuOnSelect#

Optional closeMenuOnSelect: boolean

Inherited from#

SelectProps.closeMenuOnSelect


components#

Optional components: Partial<SelectComponents<any, boolean>>

Inherited from#

SelectProps.components


controlShouldRenderValue#

Optional controlShouldRenderValue: boolean

Inherited from#

SelectProps.controlShouldRenderValue


createOptionPosition#

Optional createOptionPosition: "first" | "last"

Inherited from#

SelectProps.createOptionPosition


defaultInputValue#

Optional defaultInputValue: string

Inherited from#

SelectProps.defaultInputValue


defaultMenuIsOpen#

Optional defaultMenuIsOpen: boolean

Inherited from#

SelectProps.defaultMenuIsOpen


defaultValue#

Optional defaultValue: any

Inherited from#

SelectProps.defaultValue


delimiter#

Optional delimiter: string

Inherited from#

SelectProps.delimiter


escapeClearsValue#

Optional escapeClearsValue: boolean

Inherited from#

SelectProps.escapeClearsValue


filterOption#

Optional filterOption: (option: Option, rawInput: string) => boolean

Type declaration#

▸ (option, rawInput): boolean

Parameters#
Name Type
option Option
rawInput string
Returns#

boolean

Inherited from#

SelectProps.filterOption


formatGroupLabel#

Optional formatGroupLabel: formatGroupLabel<any>

Inherited from#

SelectProps.formatGroupLabel


getOptionLabel#

Optional getOptionLabel: getOptionLabel<any>

Inherited from#

SelectProps.getOptionLabel


getOptionValue#

Optional getOptionValue: getOptionValue<any>

Inherited from#

SelectProps.getOptionValue


hideSelectedOptions#

Optional hideSelectedOptions: boolean

Inherited from#

SelectProps.hideSelectedOptions


id#

Optional id: string

Inherited from#

SelectProps.id


inputId#

Optional inputId: string

Inherited from#

SelectProps.inputId


inputValue#

Optional inputValue: string

Inherited from#

SelectProps.inputValue


instanceId#

Optional instanceId: string | number

Inherited from#

SelectProps.instanceId


isClearable#

Optional isClearable: boolean

Inherited from#

SelectProps.isClearable


isCreatable#

Optional isCreatable: boolean

Inherited from#

SelectProps.isCreatable


isDisabled#

Optional isDisabled: boolean

Inherited from#

SelectProps.isDisabled


isLoading#

Optional isLoading: boolean

Inherited from#

SelectProps.isLoading


isMulti#

Optional isMulti: boolean

Inherited from#

SelectProps.isMulti


isRtl#

Optional isRtl: boolean

Inherited from#

SelectProps.isRtl


isSearchable#

Optional isSearchable: boolean

Inherited from#

SelectProps.isSearchable


maxMenuHeight#

Optional maxMenuHeight: number

Inherited from#

SelectProps.maxMenuHeight


Optional menuClass: string

Inherited from#

SelectProps.menuClass


Optional menuIsOpen: boolean

Inherited from#

SelectProps.menuIsOpen


Optional menuPlacement: MenuPlacement

Inherited from#

SelectProps.menuPlacement


Optional menuPortalTarget: HTMLElement

Inherited from#

SelectProps.menuPortalTarget


Optional menuPosition: MenuPosition

Inherited from#

SelectProps.menuPosition


Optional menuShouldBlockScroll: boolean

Inherited from#

SelectProps.menuShouldBlockScroll


Optional menuShouldScrollIntoView: boolean

Inherited from#

SelectProps.menuShouldScrollIntoView


minMenuHeight#

Optional minMenuHeight: number

Inherited from#

SelectProps.minMenuHeight


name#

Optional name: string

Inherited from#

SelectProps.name


onBlur#

Optional onBlur: FocusEventHandler

Inherited from#

SelectProps.onBlur


onFocus#

Optional onFocus: FocusEventHandler

Inherited from#

SelectProps.onFocus


onKeyDown#

Optional onKeyDown: KeyboardEventHandler

Inherited from#

SelectProps.onKeyDown


openMenuOnClick#

Optional openMenuOnClick: boolean

Inherited from#

SelectProps.openMenuOnClick


openMenuOnFocus#

Optional openMenuOnFocus: boolean

Inherited from#

SelectProps.openMenuOnFocus


options#

Optional options: OptionsType<any> | GroupedOptionsType<any>

Inherited from#

SelectProps.options


pageSize#

Optional pageSize: number

Inherited from#

SelectProps.pageSize


placeholder#

Optional placeholder: ReactNode

Inherited from#

SelectProps.placeholder


showAllNamespacesOption#

Optional showAllNamespacesOption: boolean


showIcons#

Optional showIcons: boolean


styles#

Optional styles: Partial<Styles<any, boolean>>

Inherited from#

SelectProps.styles


tabIndex#

Optional tabIndex: string

Inherited from#

SelectProps.tabIndex


tabSelectsValue#

Optional tabSelectsValue: boolean

Inherited from#

SelectProps.tabSelectsValue


theme#

Optional theme: ThemeConfig

Inherited from#

SelectProps.theme


themeName#

Optional themeName: "lens" | "light" | "outlined" | "dark"

Inherited from#

SelectProps.themeName


value#

Optional value: any

Inherited from#

SelectProps.value

Methods#

customizeOptions#

Optional customizeOptions(options): SelectOption<any>[]

Parameters#

Name Type
options SelectOption<any>[]

Returns#

SelectOption<any>[]


formatCreateLabel#

Optional formatCreateLabel(inputValue): ReactNode

Parameters#

Name Type
inputValue string

Returns#

ReactNode

Inherited from#

SelectProps.formatCreateLabel


formatOptionLabel#

Optional formatOptionLabel(option, labelMeta): ReactNode

Parameters#

Name Type
option OptionType
labelMeta FormatOptionLabelMeta<OptionType, IsMulti>

Returns#

ReactNode

Inherited from#

SelectProps.formatOptionLabel


getNewOptionData#

Optional getNewOptionData(inputValue, optionLabel): OptionType

Parameters#

Name Type
inputValue string
optionLabel ReactNode

Returns#

OptionType

Inherited from#

SelectProps.getNewOptionData


isOptionDisabled#

Optional isOptionDisabled(option, options): boolean

Parameters#

Name Type
option OptionType
options OptionsType<OptionType>

Returns#

boolean

Inherited from#

SelectProps.isOptionDisabled


isOptionSelected#

Optional isOptionSelected(option, options): boolean

Parameters#

Name Type
option OptionType
options OptionsType<OptionType>

Returns#

boolean

Inherited from#

SelectProps.isOptionSelected


isValidNewOption#

Optional isValidNewOption(inputValue, value, options): boolean

Parameters#

Name Type
inputValue string
value IsMulti extends true ? OptionsType<OptionType> : OptionType
options OptionsType<OptionType> | GroupedOptionsType<OptionType>

Returns#

boolean

Inherited from#

SelectProps.isValidNewOption


loadingMessage#

Optional loadingMessage(obj): string

Parameters#

Name Type
obj Object
obj.inputValue string

Returns#

string

Inherited from#

SelectProps.loadingMessage


noOptionsMessage#

Optional noOptionsMessage(obj): string

Parameters#

Name Type
obj Object
obj.inputValue string

Returns#

string

Inherited from#

SelectProps.noOptionsMessage


onChange#

Optional onChange(option, meta?): void

Parameters#

Name Type
option any
meta? ActionMeta<any>

Returns#

void

Inherited from#

SelectProps.onChange


onCreateOption#

Optional onCreateOption(inputValue): void

Parameters#

Name Type
inputValue string

Returns#

void

Inherited from#

SelectProps.onCreateOption


onInputChange#

Optional onInputChange(newValue, actionMeta): void

Parameters#

Name Type
newValue string
actionMeta InputActionMeta

Returns#

void

Inherited from#

SelectProps.onInputChange


onMenuClose#

Optional onMenuClose(): void

Returns#

void

Inherited from#

SelectProps.onMenuClose


onMenuOpen#

Optional onMenuOpen(): void

Returns#

void

Inherited from#

SelectProps.onMenuOpen


onMenuScrollToBottom#

Optional onMenuScrollToBottom(event): void

Parameters#

Name Type
event SyntheticEvent<HTMLElement, Event>

Returns#

void

Inherited from#

SelectProps.onMenuScrollToBottom


onMenuScrollToTop#

Optional onMenuScrollToTop(event): void

Parameters#

Name Type
event SyntheticEvent<HTMLElement, Event>

Returns#

void

Inherited from#

SelectProps.onMenuScrollToTop


screenReaderStatus#

Optional screenReaderStatus(obj): string

Parameters#

Name Type
obj Object
obj.count number

Returns#

string

Inherited from#

SelectProps.screenReaderStatus


sort#

Optional sort(a, b): number

Parameters#

Name Type
a SelectOption<string>
b SelectOption<string>

Returns#

number