-
Notifications
You must be signed in to change notification settings - Fork 111
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Placeholder text in a multiline box doesn’t go away when you start typing #63
Comments
Can I throw in a related question to this: Why not just use the native HTML @ScribblerWriter a workaround should be to use: |
Thank you. I should’ve thought of that. I’m on a trip right now where I don’t have the ability to do any coding, but I’ll try it out as soon as I get home. |
No worries! I'm actually using that myself at the moment and it's working fine as far as the text disappearing, but I've noticed that the placeholder text vertically seems a bit too close to the textarea border (but I haven't investigated as to why) |
This is because text never gets updated and is always an empty string. |
#unexpected |
Whoops, referenced the wrong issue in my commit. So, I think this issue is more how elm and the browser sync state. I'm not sure there's anything that Also, I'm not sure there's actually a problem 🤔 If you're using elm to handle a text input, you are going to be tracking a value in your model, yeah? I didn't go with |
I’m building a page with a multiline input. I was hoping to have a placeholder text on top of it, but unfortunately, it doesn’t seem to go away when you start typing, and instead you get both your text and the placeholder text on top of each other.
Here’s an Ellie that illustrates: https://ellie-app.com/3MRsmntHrKLa1
Just start typing in the multiline after compiling to see what I mean.
Expected behavior
The placeholder text should go away as soon as you start typing in the multiline box.
Versions
The text was updated successfully, but these errors were encountered: