【发布时间】:2022-02-05 12:04:35
【问题描述】:
目前我正在使用本机基础并为搜索栏输入这种类型的文本
<Text>
Card Name
</Text>
<Header searchBar rounded style={{ backgroundColor: '#E9E9EF'}}>
<Item style={{ backgroundColor: 'lightgray', borderRadius: 5 }}>
<Icon name="ios-search" />
<Input placeholder="Search" onChangeText={(searchText) => this.setState({searchText})} value={this.state.searchText} />
</Item>
</Header>
我想启用从剪贴板粘贴,用户可以从其他地方复制一些文本并将其粘贴到此搜索输入框中。我该怎么做?
【问题讨论】:
-
我在这篇文章中回答了,请找到我希望它会有所帮助。 stackoverflow.com/questions/50655600/…
-
我在这篇文章中回答了,希望对您有所帮助。 stackoverflow.com/questions/50655600/…
-
我在这篇文章中回答了,希望对您有所帮助。 stackoverflow.com/questions/50655600/…