-
Notifications
You must be signed in to change notification settings - Fork 788
Open
Labels
a:material-componentsIssues related to the material components (mN)Issues related to the material components (mN)need triagingIssue that the owner of the area still need to triageIssue that the owner of the area still need to triage
Description
Bug Description
When using Material Design, the placeholder text is not displayed in TextField.
If I'm not mistaken, the placeholder text is also missing from the example at https://material.slint.dev/components/text_field/.
Reproducible Code (if applicable)
import { TextField } from "@material";
export component MainWindow inherits Window {
width: 640px;
height: 240px;
TextField {
width: 80%;
placeholder-text: "some text";
}
}Environment Details
-
Slint Version: 1.14.1
-
Platform/OS: Ubuntu 22.04
-
Programming Language: Rust 1.91.1
-
Backend/Renderer: (I don't now Slint well enough to check the renderer in use.)
-
Material Design template from https://material.slint.dev/zip/material-1.0.zip.
Product Impact
I would like to use the placeholder text to show default values used without further input. It would be very useful to me to have it available.
Metadata
Metadata
Assignees
Labels
a:material-componentsIssues related to the material components (mN)Issues related to the material components (mN)need triagingIssue that the owner of the area still need to triageIssue that the owner of the area still need to triage