2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 19:09:01 +00:00

fix: select field issue

This commit is contained in:
18alantom 2023-04-11 12:15:25 +05:30
parent 95e5447d79
commit 1dc0911add

View File

@ -73,7 +73,10 @@ export default defineComponent({
methods: {
onChange(e: Event) {
const target = e.target;
if (!(target instanceof HTMLInputElement)) {
if (
!(target instanceof HTMLSelectElement) &&
!(target instanceof HTMLInputElement)
) {
return;
}