Why does Picker use Title and TitleColor instead of IPlaceholderElement
#20528
Replies: 1 comment
-
Nevermind, after further testing it seems the Hint property behaves differently when there are items supplied. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like MAUI has adopted a pattern of using
IPlaceholderElement
for elements that have placeholder functionality.This interface exposes
Placeholder
andPlaceholderColor
. Some controls that make use of this interface are Editor and Entry.For the
Picker
control... This seems to differ. It instead usesTitle
andTitleColor
, which then gets set as the placeholder in the handler (Android screenshots):Functionally, this seems to be the exact behavior intended for
IPlaceholderElement
. Why does the picker deviate from this pattern?Beta Was this translation helpful? Give feedback.
All reactions