mirror of
https://github.com/frappe/books.git
synced 2026-08-24 02:24:17 -05:00
Merge pull request #1339 from Gadha2311/enter-key
fix: submit filter on Enter key
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ export default defineComponent({
|
||||
`${fyo.singles.ERPNextSyncSettings?.dataSyncInterval as string}m`
|
||||
);
|
||||
} catch (error) {
|
||||
showToast({ message: error as string, type: 'error' });
|
||||
showToast({ message: 'Connection Failed', type: 'error' });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -79,6 +79,7 @@
|
||||
@mousedown.stop
|
||||
@click.stop
|
||||
@change="(value) => updateNewFilters(i, 'fieldname', value)"
|
||||
@keydown.enter="applyFilters"
|
||||
/>
|
||||
|
||||
<Select
|
||||
@@ -97,6 +98,7 @@
|
||||
@mousedown.stop
|
||||
@click.stop
|
||||
@change="(value) => updateNewFilters(i, 'condition', value)"
|
||||
@keydown.enter="applyFilters"
|
||||
/>
|
||||
|
||||
<Data
|
||||
@@ -114,6 +116,7 @@
|
||||
@mousedown.stop
|
||||
@click.stop
|
||||
@change="(value) => updateNewFilters(i, 'value', value)"
|
||||
@keydown.enter="applyFilters"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user