Patient lookup query length minimum = 3
This commit is contained in:
parent
b74dcb7d24
commit
d3673fc826
@ -48,7 +48,7 @@
|
|||||||
created() {
|
created() {
|
||||||
this.query_sync = debounce(async function(value) {
|
this.query_sync = debounce(async function(value) {
|
||||||
this.query_view = value = value.replace(/^\s+|\s+$/g, '').replace(/\s+/g, ' ');
|
this.query_view = value = value.replace(/^\s+|\s+$/g, '').replace(/\s+/g, ' ');
|
||||||
this.resultset = value ? (await this.client.ORWPT16_LOOKUP(value)) : [];
|
this.resultset = (value) && (value.length >= 3) ? (await this.client.ORWPT16_LOOKUP(value)) : [];
|
||||||
}, 500);
|
}, 500);
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
|
Loading…
Reference in New Issue
Block a user