Sha256: c20ec8ed65aaea4c6c130a4ce5990936e7b0f5e64ca3af0f5cca017d10c008da

Contents?: true

Size: 858 Bytes

Versions: 46

Compression:

Stored size: 858 Bytes

Contents

#### Rails: Providing the `load_options` Promise

**Additional required props: ** `async: true`, `pills: true`

The prop `load_options`, when used in conjunction with `async: true` and `pills: true`, points to a JavaScript function located within the global window namespace. This function should return a `Promise` which resolves with the list of formatted options as described in prior examples above. This function is identical to the function provided to the React version of this kit. See the code example for more details.

#### React: `loadOptions`

**Additional required props: ** `async: true`

[As outlined in the react-select Async docs](https://react-select.com/async), `loadOptions` expects to return a Promise that resolves resolves with the list of formatted options as described in prior examples above. See the code example for more details.

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
playbook_ui-7.9.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.8.4 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.8.3 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.8.2 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.8.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.8.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.7.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.6.2 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.6.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.6.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.5.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.5.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.4.2 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.4.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.4.0.pre.alpha6 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.4.0.pre.alpha5 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md
playbook_ui-7.4.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md