To reproduce I referenced Multi-line and the mentions did not work but when I click outside the multiline it produced the error and comes up with an error alert on the screen.
In the work flow references the field - when multiline input value changes.
I got it working by putting in a colour, maybe stick in a default if you can might assist new users.
But, there is still an issue with being able to reference the Multiline field inside a repeating group for the ID Attribute - seems you can not reference the field directly.
It works with a field inside a group, because you can reference the input element, but not inside repeating group.
I followed this example and still can not get it to work inside a repeating group.
It works if you put the multi inside a single group but the following does not work.
1.Set up a group
2. Inside the group add a repeating group
3. Inside this repeating group add another group
4. Inside that group add a multi line field
If the multi field is not visible on page load it disables the plugin, so when you toggle the multi line it fails.
In the example I have added a basic multi in a group (works) and a repeating group > group (with the initial state hidden), just click toggle to reveal and test input.
Lol yeah ofcourse that would happen. I wasn’t aware the element was hidden.
The way bubble works is that it renders only the required elements on the page. Just because it’s on the bubble editor doesn’t mean its on your actual site at every moment. When the plugin adds the feature to all multiline inputs on the page, the one you want to use should ‘exist’. The way to overcome this is to trigger the setup mentions action after the multiline input is visible on the page.
OK, for anyone who is having the same challenge I will leave the example up (see above) and include the solution.
The way to overcome not being able to reference the group within a repeating group directly.
Set a custom state on the repeating group within the main group, so every time you click on a link or button it sets the custom Yes/No state to “Yes”. It’s probably not necessary but on page load I also set the custom state to “No” - when you click the toggle button as part of the Workflow it first “Toggles” the view to visible and it then sets the state to “Yes” and then Bubble loads the Mentions plugin when the multi line text field is visible based on the value of the custom state. The work-flow then waits 500 ms before resetting the state to “No” ready for the next repeating group.
Most obvious option below:
In most Instances when you simply want to hide a field and then enable mentions you can just put it in the work flow after the Toggle option in the text field. In most cases this will work! Use the above if you need to associate it with something else.
Also don’t forget to add in the required coloured options in the plugin settings as @gaurav mentions above.
I have found repeatable test which may give you some indication why the space is being added.
It appears that the first record in the database does not produce the space but all other records after the first add a space between the “@” and the “Name” this would be why some people reported seeing it and other times not.
Is there a fix or something that needs to be done to stop this in the current version?