We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f76cbe commit e97442fCopy full SHA for e97442f
src/components/filters/filter_menu_criterion/filter_menu_criterion.xml
@@ -13,6 +13,7 @@
13
criterion="state.criterion"
14
onCriterionChanged.bind="onCriterionChanged"
15
disableFormulas="true"
16
+ autofocus="true"
17
/>
18
</t>
19
</templates>
tests/table/filter_menu_component.test.ts
@@ -444,6 +444,7 @@ describe("Filter menu component", () => {
444
445
await simulateClick(".o-filter-criterion-type");
446
await simulateClick(".o-menu-item[data-name='containsText']");
447
+ expect(document.activeElement).toBe(fixture.querySelector(".o-dv-input input"));
448
await setInputValueAndTrigger(".o-dv-input input", "hello");
449
await simulateClick(".o-filter-menu-confirm");
450
0 commit comments