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

Triggers as caret positions or new line #190

Open
anika-ahluwalia opened this issue Jun 4, 2020 · 2 comments
Open

Triggers as caret positions or new line #190

anika-ahluwalia opened this issue Jun 4, 2020 · 2 comments

Comments

@anika-ahluwalia
Copy link

Hi! Is it possible to have a trigger activated when the caret is at the start or when the user hits enter? Thank you!

@jukben
Copy link
Collaborator

jukben commented Jun 5, 2020

Unfortunately, this is not possible with the current implementation. You can trigger the autocomplete only with specific trigger https://github.com/webscopeio/react-textarea-autocomplete#trigger-type.

@rohanrana
Copy link

@anika-ahluwalia @jukben
i have done new line on selecting from drop-down using new line charcter in output
you can use below code

image

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

3 participants