diff --git a/src/navbar/__test__/__snapshots__/demo.test.jsx.snap b/src/navbar/__test__/__snapshots__/demo.test.jsx.snap index 89297e2b2..8017694f4 100644 --- a/src/navbar/__test__/__snapshots__/demo.test.jsx.snap +++ b/src/navbar/__test__/__snapshots__/demo.test.jsx.snap @@ -752,6 +752,7 @@ exports[`Navbar > Navbar mobileVue demo works fine 1`] = ` @@ -1310,6 +1311,7 @@ exports[`Navbar > Navbar searchVue demo works fine 1`] = ` diff --git a/src/search/__test__/__snapshots__/demo.test.jsx.snap b/src/search/__test__/__snapshots__/demo.test.jsx.snap index 4fb88b149..dd3271de0 100644 --- a/src/search/__test__/__snapshots__/demo.test.jsx.snap +++ b/src/search/__test__/__snapshots__/demo.test.jsx.snap @@ -26,6 +26,7 @@ exports[`Search > Search actionVue demo works fine 1`] = ` @@ -61,6 +62,7 @@ exports[`Search > Search baseVue demo works fine 1`] = ` @@ -130,6 +132,7 @@ exports[`Search > Search mobileVue demo works fine 1`] = ` @@ -183,6 +186,7 @@ exports[`Search > Search mobileVue demo works fine 1`] = ` @@ -239,6 +243,7 @@ exports[`Search > Search mobileVue demo works fine 1`] = ` @@ -295,6 +300,7 @@ exports[`Search > Search mobileVue demo works fine 1`] = ` @@ -334,6 +340,7 @@ exports[`Search > Search otherVue demo works fine 1`] = ` @@ -369,6 +376,7 @@ exports[`Search > Search shapeVue demo works fine 1`] = ` diff --git a/src/search/search.tsx b/src/search/search.tsx index c74626a55..005f8a426 100644 --- a/src/search/search.tsx +++ b/src/search/search.tsx @@ -139,6 +139,7 @@ export default defineComponent({ onFocus={handleFocus} onBlur={handleBlur} onInput={handleInput} + confirm-type="search" onCompositionend={handleCompositionend} /> {readerClear()}