使用不带文本框的Peoplepicker(办公室ui架构)

时间:2019-12-02 02:49:04

标签: office-ui-fabric

office ui架构选择器很棒,但是似乎总是在它旁边显示一个文本框。有没有办法显示没有文本框的人员选择器UI?上下文:我们有一个带有画布的应用程序,想要显示此人员选择器,但不想显示文本框本身。 https://developer.microsoft.com/en-us/fabric#/controls/web/peoplepicker

以下是我们提出的想法:

Hide the textbox UI with display:none;, and then set the textbox text to be a particular value. I unfortunately don't see a prop on the picker component to set the search text, so I don't think I am able to do this. In addition to this, I don't see a way to get access to the textbox and the other part of the picker separately

有没有使用不带文本框的人员选择器的示例吗?

enter image description here

0 个答案:

没有答案