gurted icon indicating copy to clipboard operation
gurted copied to clipboard

[BUG] setting the attribute of placeholder using lua doesnt change the placeholder

Open someoneidoknow opened this issue 1 year ago • 1 comments

Describe the bug title

To Reproduce

<body>
    <form>
        <input type="password" id="pass" />
        <input type="text" id="text" />
    </form>
    <script>
        local text = gurt.select("#text")
        local pass = gurt.select("#pass")
        text:setAttribute("placeholder", "Username")
        pass:setAttribute("placeholder", "Password")
    </script>
</body>

Expected behavior to show the placeholder

someoneidoknow avatar Sep 10 '25 18:09 someoneidoknow

actually i have zero idea if this is the culprit, i fixed it by not having unicode in the placeholder which apparently worked when setting it from lua? not closing but keep this in mind

someoneidoknow avatar Sep 10 '25 18:09 someoneidoknow