1.0.9 • Published 2 years ago

mccb v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Multi-column combobox

  • Setver-side render
  • Search
  • Autocomplete

PROPS

| No | Property name | Type | Required | Default | Description

| 1 | className | string | no | | | 2 | name | string | yes | | Name of field | 3 | type | string | yes | | Type of field (number, text) | 4 | readOnly | boolean | no | fasle | | 5 | component | | | | the component Mccb {Mccb} | 6 | apiObject | object | yes | | the object returned by apisauce.create() | 7 | apiPath | string | yes | | path of API (base URL is not included) | 8 | apiBody | object | yes | {} | to pass to apisauce | 9 | textField | string | yes | | field to display | 10 | shownColumns | array of objects | yes | | columns to show, for example: shownColumns={{Header: 'ID', accessor: 'id',},{Header: 'Category', accessor: 'cat_id',},} | 11 | defauttBoundString | number or string | no | null | value to set at the start | 12 | handleAfterValueSelected | function | no | null | callback to get row values from parent component | 13 | setFirstRowAsDefault | boolean | no | false | set the 1st row as field.value at the start

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago