mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
Add the accessible-placeholder-text
property (#5464)
This commit is contained in:
parent
bd18d8dc0a
commit
ce2db77e88
19 changed files with 48 additions and 11 deletions
|
@ -18,7 +18,7 @@ SCENARIO("Basic TEST")
|
|||
state.mainWindow,
|
||||
[](slint::testing::ElementHandle element)
|
||||
-> std::optional<slint::testing::ElementHandle> {
|
||||
if (element.accessible_label() == "What needs to be done?") {
|
||||
if (element.accessible_placeholder_text() == "What needs to be done?") {
|
||||
return element;
|
||||
} else {
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue