gurted
gurted copied to clipboard
[BUG] setting the attribute of placeholder using lua doesnt change the placeholder
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
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