I have a text element that displays via .show(), triggered by a user input event, and whose .text() is populated by that very same input. The issue is the as it fades into view, the placeholder text is visible for a split second before it changes.
I tried deleting the contents but it ends up deleting the element. The same thing occurred when I tried adding a single space. I also tried searching for a non-breaking space approach online but came up empty (no pun intended).
Can you guys think of a possible solution?
This works:
//Kept placeholder text one the element, kept it hidden and placed this under any top level event function $w("#fittext").text = " ";
in tried using $w("#fittext").html which allows non-braking spaces but I couldn't revert it back to plain text to capture the input.