-
Notifications
You must be signed in to change notification settings - Fork 21
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
Interpolation not working as I expect it to #24
Comments
Hi, I think you are just missing the |
Hey, sorry I was abroad for some time, that's why I couldn't answer.
Works perfectly. {{test}} get replaced by the right text, and "Test test" stay the same. This, on the other hand :
Does not work, as it removes the checkbox. {{test}} get replaced by the right text, and "Test test" stay the same though. But the input got removed.
Here, both of the {{test}} are replaced by the right text, and "Test test" also stay the same. But the So here the result of that last piece of code after it went through your script :
I don't really know what I'm missing out on. |
@CombesA did you manage to solve this ? i am fighting this ATM. Just curious if it works at all so i won't waste my time. |
I am pretty sure this a bug. The easiest way to work around it is probably to wrap the text inside a |
Hey there !
Just so you know, you're doing a great job, your tool is really easy to use and it makes everything simple, thanks !
I have this issue, I'm trying to do the following :
\<div class="demo" data-t-interpolate> <div class="loading"></div> {{test}} \</div>
You talked about it in the conversation on the PR #16 . This should work now but it doesn't.
My case is that I want a checkbox, like so :
\<div data-t-interpolate> {{contact.call.title}} <input type="checkbox"> \</div>
I had the problem where my checkbox was removed by your script. Now that code is displaying the checkbox, but doesn't translate the text. The text displayed stays that way :
{{contact.call.title}}
I was wondering if I was doing something wrong.
Thanks a lot !
P.S. : Sorry, I had some issues trying to write code in here ahah.
The text was updated successfully, but these errors were encountered: