如果我想将 passThroughAttributes 添加到optionsa的某些元素中,select我可以使用f: passThroughAttribute作为f:selectItem的子组件。
但通常我使用一个ListSelectItems来生成选项。相比之下,  UiComponent SelectItem没有方法getPassThroughAttributes。
有人知道原因吗?
如果我想将 passThroughAttributes 添加到optionsa的某些元素中,select我可以使用f: passThroughAttribute作为f:selectItem的子组件。
但通常我使用一个ListSelectItems来生成选项。相比之下,  UiComponent SelectItem没有方法getPassThroughAttributes。
有人知道原因吗?