[webkit-changes] [WebKit/WebKit] 76bd68: [iOS] Datalist dropdowns do not display option labels

Aditya Keerthi noreply at github.com
Thu Mar 13 10:29:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76bd68a428caf6140cc7939d6c163062249294ba
      https://github.com/WebKit/WebKit/commit/76bd68a428caf6140cc7939d6c163062249294ba
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M Source/WebKit/UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm

  Log Message:
  -----------
  [iOS] Datalist dropdowns do not display option labels
https://bugs.webkit.org/show_bug.cgi?id=289668
rdar://146921617

Reviewed by Abrar Rahman Protyasha and Wenson Hsieh.

This patch makes the equivalent iOS change that 222760 at main brought to macOS.
Option labels are displayed as subtitles when present.

Note that option values are still the primary text displayed to the user, since
that is what will be visibly entered into textfields once the user selects an
option.

* Source/WebKit/UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm:
(-[WKDataListSuggestionsControl suggestionLabelAtIndex:]):
(-[WKDataListSuggestionsDropdown _updateSuggestionsMenuElements]):

Canonical link: https://commits.webkit.org/292100@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list