Dropdown.Attr Type

A list of children or a property for this dash component

Union cases

Union case Description

Children DashComponent list

Full Usage: Children DashComponent list

Parameters:
Item : DashComponent list

Prop Prop

Full Usage: Prop Prop

Parameters:
Item : Prop

Static members

Static member Description

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : seq<DashComponent>
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : DashComponent list
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : DashComponent
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : Guid
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
    value : float

Returns: Attr

The child or children of this dash component

value : float
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
    value : string

Returns: Attr

The child or children of this dash component

value : string
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
    value : int

Returns: Attr

The child or children of this dash component

value : int
Returns: Attr

Attr.className p

Full Usage: Attr.className p

Parameters:
    p : string

Returns: Attr

className of the dropdown element

p : string
Returns: Attr

Attr.clearable p

Full Usage: Attr.clearable p

Parameters:
    p : bool

Returns: Attr

Whether or not the dropdown is "clearable", that is, whether or not a small "x" appears on the right of the dropdown that removes the selected value.

p : bool
Returns: Attr

Attr.disabled p

Full Usage: Attr.disabled p

Parameters:
    p : bool

Returns: Attr

If true, this dropdown is disabled and the selection cannot be changed.

p : bool
Returns: Attr

Attr.loadingState p

Full Usage: Attr.loadingState p

Parameters:
Returns: Attr

Object that holds the loading state object coming from dash-renderer

p : LoadingState
Returns: Attr

Attr.multi p

Full Usage: Attr.multi p

Parameters:
    p : bool

Returns: Attr

If true, the user can select multiple values

p : bool
Returns: Attr

Attr.optionHeight p

Full Usage: Attr.optionHeight p

Parameters:
    p : float

Returns: Attr

height of each option. Can be increased when label lengths would wrap around

p : float
Returns: Attr

Attr.options p

Full Usage: Attr.options p

Parameters:
Returns: Attr

An array of options {label: [string|number], value: [string|number]}, an optional disabled field can be used for each option

p : seq<DropdownOption>
Returns: Attr

Attr.persistedProps p

Full Usage: Attr.persistedProps p

Parameters:
    p : string[]

Returns: Attr

Properties whose user interactions will persist after refreshing the component or the page. Since only `value` is allowed this prop can normally be ignored.

p : string[]
Returns: Attr

Attr.persistence p

Full Usage: Attr.persistence p

Parameters:
Returns: Attr

Used to allow user interactions in this component to be persisted when the component - or the page - is refreshed. If `persisted` is truthy and hasn't changed from its previous value, a `value` that the user has changed while using the app will keep that change, as long as the new `value` also matches what was given originally. Used in conjunction with `persistence_type`.

p : IConvertible
Returns: Attr

Attr.persistenceType p

Full Usage: Attr.persistenceType p

Parameters:
Returns: Attr

Where persisted user changes will be stored: memory: only kept in memory, reset on page refresh. local: window.localStorage, data is kept after the browser quit. session: window.sessionStorage, data is cleared once the browser quit.

p : PersistenceTypeOptions
Returns: Attr

Attr.placeholder p

Full Usage: Attr.placeholder p

Parameters:
    p : string

Returns: Attr

The grey, default text shown when no option is selected

p : string
Returns: Attr

Attr.searchValue p

Full Usage: Attr.searchValue p

Parameters:
    p : string

Returns: Attr

The value typed in the DropDown for searching.

p : string
Returns: Attr

Attr.searchable p

Full Usage: Attr.searchable p

Parameters:
    p : bool

Returns: Attr

Whether to enable the searching feature or not

p : bool
Returns: Attr

Attr.style p

Full Usage: Attr.style p

Parameters:
Returns: Attr

Defines CSS styles which will override styles previously set.

p : seq<Style>
Returns: Attr

Attr.value p

Full Usage: Attr.value p

Parameters:
Returns: Attr

The value of the input. If `multi` is false (the default) then value is just a string that corresponds to the values provided in the `options` property. If `multi` is true, then multiple values can be selected at once, and `value` is an array of items with values corresponding to those in the `options` prop.

p : IConvertible list
Returns: Attr

Attr.value p

Full Usage: Attr.value p

Parameters:
Returns: Attr

The value of the input. If `multi` is false (the default) then value is just a string that corresponds to the values provided in the `options` property. If `multi` is true, then multiple values can be selected at once, and `value` is an array of items with values corresponding to those in the `options` prop.

p : IConvertible
Returns: Attr