Merge pull request #1339 from Gadha2311/enter-key

fix: submit filter on Enter key
This commit is contained in:
Able k Saju
2025-09-12 15:00:01 +05:30
committed by GitHub
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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' });
}
}
+3
View File
@@ -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>