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 change textField mentioned color ? #235

Open
ParagDevac opened this issue May 3, 2021 · 2 comments
Open

How to change textField mentioned color ? #235

ParagDevac opened this issue May 3, 2021 · 2 comments

Comments

@ParagDevac
Copy link

Hello , Thanks for the library. i am using it in my app. Can you please tell me how to change the color of mentioned text. It is blue currently. Thank you.

@dineshiOSDev
Copy link

Configure it when you instantiate your plugin.
HKWMentionsPluginV1.mentionsPlugin(withChooserMode: mode, controlCharacters: controlCharacters, searchLength: 0, unselectedColor: Theme.standard.primary, selectedColor: .red, selectedBackgroundColor: .black)

@ParagDevac
Copy link
Author

ParagDevac commented Aug 11, 2021

I am using V2 . Is there any way to do it in HKWMentionsPluginV2 ? there is no method in v2 for unselectedColor: Theme.standard.primary, selectedColor: .red

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

No branches or pull requests

2 participants