in src/ui/editor/basic/ARemoteSelector.tsx [32:47]
constructor(props) {
super(props);
this.state = {candidate: undefined, fetching: false, q:""};
this.fetchCandidate = debounce(q => {
this.setState({ fetching: true });
Ajax.get(this.props.schema.remote.url.replace("${q}", q))
.then(
d => {
_.assign(this.props.schema, {
_options: d
})
this.setState({ candidate: MUtil.get(d, this.props.schema.remote.dataPath), fetching: false })
}
);
}, 500);
}