-
Notifications
You must be signed in to change notification settings - Fork 739
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
Custom UI for Merge Tags remove autocomplete when typing #407
Comments
@brunolemos , anything about this? Explaining a bit more:
unlayer.registerCallback('mergeTag', (_, done) => {
toggleUserPropertiesModal();
setMergeTagSelect(() => done);
}); This works fine, when I click the User Properties on the Text menu, it opens my modal: My problem is that before, when typing Since I don't have the menu anymore (but the Modal), I'd like to open the same modal. Is there a listener that I should register to do that? |
Hey o/
So, I needed a more robust version for Merge Tags, since just the Select Box was too simple for my case (since I need to provide search), using the
unlayer.registerCallback('mergeTag', fn())
worked fine, but I noticed that now the autocomplete box doesn't show up if I type{
in the body as before.Follow bellow how it was before.
I'd say that both features are different, we shouldn't remove this box option if we have a Custom UI when picking.
The text was updated successfully, but these errors were encountered: