0.2.13 • Published 6 years ago
@react-ag-components/reference-data-selector v0.2.13
reference-data-selector
Typeahead field to look up reference data.
Specify the ref type to look up a reference data group.
For example to look up countries from the country
data group, pass in the type of country
<ReferenceDataSelector
type="country"
...
Note this only works if it deployed under the same domain as the reference data service.
Or use a proxy.
Usage
Install
npm i @react-ag-components/reference-data-selector --save
Use in your project
import ReferenceDataSelector from '@react-ag-components/reference-data-selector'
<ReferenceDataSelector
id="country-selector"
label="Country you wish to export to"
placeholder="Select country"
type="country"
onChange={this.onChange('country')}
value={this.state.country}
/>
Properties
Contributing
Get the repository
git clone https://github.com/alphillips/reference-data-selector.git
Update dependencies
npm install
Run the project
npm start
Deploy to npm
Build
npm run build -- --copy-files
Publish
npm publish --access public
0.2.13
6 years ago
0.2.12
6 years ago
0.2.11
6 years ago
0.2.10
6 years ago
0.2.9
6 years ago
0.2.8
6 years ago
0.2.7
6 years ago
0.2.6
6 years ago
0.2.5
6 years ago
0.2.4
6 years ago
0.2.3
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
6 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago