I need the font size to be the value contained in the input, how do I do that?
You’ll need to use CSS as the Bubble’s editor doesn’t allow dynamic values for things like this.
Could you tell me how to do that?
What @adamholmes stated is the best solution.
BUT if you want to get into “I’m not proud of it, but it works” kind of coding, you can just build a bunch of conditions that set the font size to a specific value if the input is a specific value.
For example:
When input Tamanho is 16
Font size = 16px
When input Tamanho is 20
Font size = 20px
And so on.
This is, of course, a NOT great way to do it, and is probably a REALLY bad idea if you let the user enter in ANY value for font size. But if the user can choose from a small set of values, it would work.
This topic was automatically closed after 70 days. New replies are no longer allowed.