weixin_39603573
weixin_39603573
2020-12-09 04:14

ebay-select optgroup without children

Feature Request

Description

In ebay-select there is no way to just add an optgroup with no option children. https://github.com/eBay/ebayui-core/blob/master/src/components/ebay-select/index.marko#L49.

Context

I am trying to recreate ebay's default search category dropdown which uses an empty optgroup to show a divider. Using the current ebay-select this is not possible as an empty option always gets added. Please add a way to create an optgroup without children.

Screenshots

Screen Shot 2020-05-01 at 2 48 21 PM

该提问来源于开源项目:eBay/ebayui-core

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

6条回答

为你推荐

换一换