mirror of
https://github.com/mue/mue.git
synced 2026-07-18 06:24:17 +02:00
fix: autocomplete search
This commit is contained in:
@@ -35,7 +35,12 @@ export default class Autocomplete extends PureComponent {
|
||||
input: e.target.innerText
|
||||
});
|
||||
|
||||
this.props.onClick(e);
|
||||
this.props.onClick({
|
||||
preventDefault: () => e.preventDefault(),
|
||||
target: {
|
||||
value: e.target.innerText
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
Reference in New Issue
Block a user