Skip to content

Conversation

@jessegavin
Copy link

I am building a UI for an app where users will want to quickly change number values in a table (like a spreadsheet). It would be much better in this case to have the entire contents of the input selected on focus.

This pull request adds an event modifier v-focus.select='expression' which does just that.

@feload
Copy link

feload commented Aug 29, 2017

Yes, yes, yes!! Please accept this pull request :)

@jessegavin
Copy link
Author

@simplesmiler any thoughts on this PR?

@DaveSweeton
Copy link

@simplesmiler I'd also like this feature!

@shepelevstas
Copy link

Does it allow to use it like this: v-focus.lazy.select="true"?

@jessegavin
Copy link
Author

@shepelevstas yes, that's how I have been using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants