Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to wrap the selected values and make it look like tags input #114

Closed
nkiranrao opened this issue Nov 14, 2015 · 2 comments
Closed

How to wrap the selected values and make it look like tags input #114

nkiranrao opened this issue Nov 14, 2015 · 2 comments
Assignees
Milestone

Comments

@nkiranrao
Copy link

I have have a list of items that user can select from, but unfortunately when the items are long, it does not wrap correctly and also looks hard to read inside the input.

<input ion-autocomplete type="text" readonly="readonly" class="ion-autocomplete" autocomplete="off" ng-model="registration.ShipperData.ProductsHandled" item-value-key="ProductId" item-view-value-key="ProductName" items-method="getFilteredProducts(query)" placeholder="touch here to select your products..." items-clicked-method="itemsClicked(callback)" items-removed-method="itemsRemoved(callback)" max-selected-items="10" />

I also tried to change it to textarea that also do not look good.

has anyone managed to make the selection look like tags?

@guylabs guylabs added this to the Backlog milestone Nov 17, 2015
@guylabs guylabs self-assigned this Nov 17, 2015
@guylabs
Copy link
Owner

guylabs commented Nov 17, 2015

Hi Kiran,

well currently the textarea is the only possibility. To have nice looking tags we would need to change the whole styling of the standard Ionic inputs and there are already ideas for that: http://forum.ionicframework.com/t/tag-input-like-in-ios-mail/5829. If you want you can come up with a PoC such that you could enable tagging support on the component. But currently there are no plans to support this in the near future.

Thanks for the idea and regards,

Guy

@guylabs
Copy link
Owner

guylabs commented Feb 23, 2017

Closing as duplicate of #169.

@guylabs guylabs closed this as completed Feb 23, 2017
@guylabs guylabs modified the milestones: 0.4.0, Backlog Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants