mabbas007 / TagsEditText

Android EditText for view tags or chips
Apache License 2.0
694 stars 124 forks source link

How to create tag when user types ',' (comma) key #19

Closed aldakur closed 7 years ago

aldakur commented 8 years ago

When the user is typing a new item (that isn't in fruits.xml) and pushes the enter key the tag is created. I want the same but when the user types ',' (comma) key.

I'm reading the code but I don't found that code.

mabbas007 commented 8 years ago

This could be an enhancement to give the library user the option set a custom separator instead of spaces of enter key

aldakur commented 8 years ago

I can try develop it but I'm not sure how to do it. So, so the enter key function is by default? It wasn't developed by you?

SaffireCoder commented 8 years ago

in TagsEditText there's SEPARATOR = " ". Fork it and change it to ","

FrancisMG commented 6 years ago

I think this is issue is not close. Im having the same scenario here. The separator only does separated the created tag. The problem here is that , create a tag when user click ','