Open yjq635 opened 3 weeks ago
Support customized search logic to achieve search for non -Title fields. For example, search according to Pinyin or Pinyin's first letter abbreviation, you can put the corresponding Pinyin and the corresponding pinyin first letter abbreviation and the title stitching on another field. When searching, it matches this new field.
`
<nz-time-select
style = "width: 250px"
[nzexpandedkeys] = "Expandkeys"
[nznodes] = "nodes"
nzshowsearch
nzplaceholder = "Please Select"
[(ngmodel)] = "Value"
[nzsearchfunc] = "nzsearchFunc"
(ngmodelchange) = "Onchange ($ Event)"
`
What problem does this feature solve?
支持自定义搜索逻辑,以实现 非title字段的搜索. 比如按拼音或者拼音首字母缩写搜索,可以把中文对应的拼音和对应的拼音首字母缩写以及title拼接起来放在另外一个字段,搜索的时候从这个新字段匹配
What does the proposed API look like?