2017-03-03 22:10:21 +08:00
## zh-CN
2022-12-22 14:12:26 +08:00
[查询模式: 确定类目 ](https://ant.design/docs/spec/reaction#lookup-patterns ) 示例。
2017-03-03 22:10:21 +08:00
## en-US
2022-12-22 14:12:26 +08:00
Demonstration of [Lookup Patterns: Certain Category ](https://ant.design/docs/spec/reaction#lookup-patterns ). Basic Usage, set options of autocomplete with `options` property.
2017-03-03 22:10:21 +08:00
2019-05-07 14:57:32 +08:00
```css
2017-03-03 22:10:21 +08:00
.certain-category-search-dropdown .ant-select-dropdown-menu-item-group-title {
color: #666 ;
font-weight: bold;
}
.certain-category-search-dropdown .ant-select-dropdown-menu-item-group {
2019-05-07 14:57:32 +08:00
border-bottom: 1px solid #f6f6f6 ;
2017-03-03 22:10:21 +08:00
}
.certain-category-search-dropdown .ant-select-dropdown-menu-item {
padding-left: 16px;
}
.certain-category-search-dropdown .ant-select-dropdown-menu-item.show-all {
text-align: center;
cursor: default;
}
.certain-category-search-dropdown .ant-select-dropdown-menu {
max-height: 300px;
}
2019-05-07 14:57:32 +08:00
```