mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: autocomplete: fix component render
This commit is contained in:
8 files changed
+12
-13
No files matched your search
@@ -44,7 +44,7 @@ export default class FileSelectAutoComplete<Multi extends boolean> extends AutoC
|
||||
|
||||
attach() {
|
||||
const value = this.$dom.val();
|
||||
ReactDOM.createRoot(this.container).render(
|
||||
this.component.render(
|
||||
<Component
|
||||
ref={(ref) => { this.ref = ref; }}
|
||||
data={this.options.data}
|
||||
|
||||
Reference in new issue
Block a user