Paper style token input element. Please visit the API Documentation and demo page for more information.
- Polymer paper style token input
- Supports form element and validatable behaviour
- Allow free input or list
- Support Array/Function for option list
<exm-token-input label="Users" value="Ronna,Beatris" data='["Rubin","Gennie","Ronna","Jacquie","Norene","Beatris","Ginny","Tiesha","Leonore","Evonne"]'></exm-token-input>
<exm-token-input label="Users" value="2" data-value-path="user.id" data-label-path="user.name" data='[ { "user": {"id": "1", "name": "Rubin" } }, { "user": { "id": "2", "name": "Gennie" } }, { "user": { "id": "3", "name": "Ronna" } }]'></exm-token-input>
Install the component using bower
$ bower install --save exm-token-input
First, make sure you have the Polymer CLI installed. Then run polymer server to launch the demo page.
$ polymer serve