Open M1CK431 opened 2 years ago
We don't expect popselect to be that complex currently.
I was thinking Popselect
as a "wrapper" for regular Select
, with a different behavior regarding it's trigger. By your response, I understand that I was wrong :disappointed:
In my project I only need label-field
and value-field
currently. For now I just .map
data from API so it's not a big deal. However, I guess that props could be useful for others and so perhaps it will be possible to add them in the futur?
使用select tag标签,内容为object, 目前仅支持string, 以后有考虑添加对象支持么
This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem
@jahnli reading your comment, it's obvious that you don't read this issue carefully. Or perhaps you are a bot? 🤭 It's not an error but a feature request which is not implemented for now. See here for the reason why: https://github.com/tusen-ai/naive-ui/issues/3795#issuecomment-1264655497
The problem is already swamped, and if you really need it, I think reopening a problem will make more people see it and want to add it
@jahnli看了你的评论,很明显你没有仔细阅读这个问题。或者也许你是一个机器人?🤭 这不是一个错误,而是一个功能请求,目前尚未实现。原因请参见此处:#3795(评论)
I strongly disagree 😞
At present, the problem has been submerged, I personally think that only by re-opening a problem can more people see it and be willing to add it. If this problem is closed, I am very sorry and I will re-open it
This function solves the problem (这个功能解决的问题)
For example, when data come from API, there are some very handy props like
label-field
orvalue-field
which are not available.Expected API (期望的 API)
At a first look, the following props are concerned:
children-field
,default-value
,label-field
,menu-props
,render-option
,reset-menu-on-options-change
,value-field
and there is alsoon-scroll
event.