Promact / md2

Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Collapse, Colorpicker, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.
http://code.promactinfo.com/md2/
MIT License
379 stars 112 forks source link

Chips ngModel push not working #249

Closed di3orlive closed 7 years ago

di3orlive commented 7 years ago

Bug, feature request, or proposal:

Bug

What is the expected behavior?

should working

What is the current behavior?

not working

What are the steps to reproduce?

http://plnkr.co/edit/87seuqS7XGmEAYx04E4U?p=preview

Which versions of Angular, MD2, OS, browsers are affected?

last/last/win10/chrome last

Is there anything else we should know?

no

krupa310 commented 7 years ago

@di3orlive If you want to add chips from autocomplete, then you need to bind your list value to the "autocompleteDataList". please refer document.

di3orlive commented 7 years ago

@krupa310 same thing http://plnkr.co/edit/NVRCnlOeFcBILzY4avNg?p=preview press enter and nothing happens with chips http://prntscr.com/fo6ppl but arrays is not empty

dharmeshpipariya-zz commented 7 years ago

@di3orlive there are no keyup event in chips component, please refer Example of chips

di3orlive commented 7 years ago

@dharmeshpipariya so its impossible to solve this problem using this chips ?

krupa310 commented 7 years ago

@di3orlive we have designed 2 type of chips

  1. user can add chips by using input
  2. user can add chips by selecting item from autocomplete list