-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
<search>
is a legitimate html5 element. Why is Vue (v2.6.12) complaining that it is unknown?
[Vue warn]: Unknown custom element: <search> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
In the template section of my component:
<template>
<div>
<search>
<label for="uw-major-search" class="text-search">Keyword Search</label>
<input
id="uw-major-search"
class="uw-program-search"
name="uw-major-search"
v-model="majorSearchInput"
type="search"
>
[search results and other stuff]
</search>
</div>
</template>
Activity
Jinjiang commentedon Apr 12, 2023
Hi @plweil glad you found this. Let me explain:
<search>
element was officially added into WHATWG HTML spec as a living standard on March 24th 2023, which was 3 weeks ago Add the <search> element whatwg/html#7320 (comment)So I'm sorry we couldn't meet your expectation. I hope you'll be able to understand that.
And since it's not a docs-related issue. I'm going to close it if you don't mind. Thanks.
plweil commentedon Apr 12, 2023
Yes, I didn't realize that it was added so recently. My apologies. Thank you.