Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Action on paste, add ng-paste? #429

Closed
Jacq opened this issue Nov 22, 2014 · 1 comment
Closed

Action on paste, add ng-paste? #429

Jacq opened this issue Nov 22, 2014 · 1 comment

Comments

@Jacq
Copy link

Jacq commented Nov 22, 2014

Is there any way to populate an ui-select using a pasted text into the input element?
I'm thinking on paste for example 1,2,3,4 so the 1 2 3 4 items are added to the ui-select.
I've tried with ng-paste but without modifying the ui-select src I think I cannot attach it to the inner input element which is the one that gets the paste event.
thanks!
Jacq.

@timcosta
Copy link

timcosta commented Feb 5, 2015

Bump. Would also like to see the parsing of pasted text for delimiters.

erikdubbelboer added a commit to atomx/ui-select that referenced this issue Oct 26, 2015
Add paste="expression" to allow custom paste handling.

Allow pasting in tagging mode when the tagging function is not defined.

In IE use window.clipboardData so jQuery is not required.

Fixes angular-ui#910, angular-ui#704, angular-ui#789, angular-ui#848, angular-ui#429
erikdubbelboer added a commit to atomx/ui-select that referenced this issue Oct 27, 2015
Add paste="expression" to allow custom paste handling.

Allow pasting in tagging mode when the tagging function is not defined.

In IE use window.clipboardData so jQuery is not required.

Fixes angular-ui#910, angular-ui#704, angular-ui#789, angular-ui#848, angular-ui#429
erikdubbelboer added a commit to atomx/ui-select that referenced this issue Nov 9, 2015
Add paste="expression" to allow custom paste handling.

Allow pasting in tagging mode when the tagging function is not defined.

In IE use window.clipboardData so jQuery is not required.

Fixes angular-ui#910, angular-ui#704, angular-ui#789, angular-ui#848, angular-ui#429
danielgrippi pushed a commit to viewthespace/ui-select that referenced this issue Jan 12, 2016
Add paste="expression" to allow custom paste handling.

Allow pasting in tagging mode when the tagging function is not defined.

In IE use window.clipboardData so jQuery is not required.

Fixes angular-ui#910, angular-ui#704, angular-ui#789, angular-ui#848, angular-ui#429

(cherry picked from commit 5b852b3)
aaronroberson added a commit that referenced this issue Feb 18, 2016
Add paste="expression" to allow custom paste handling.

Allow pasting in tagging mode when the tagging function is not defined.

In IE use window.clipboardData so jQuery is not required.

Fixes #910, #704, #789, #848, #429
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants