Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vue warn]: Unknown custom element: <search> - #2990

Closed
plweil opened this issue Apr 7, 2023 · 2 comments
Closed

[Vue warn]: Unknown custom element: <search> - #2990

plweil opened this issue Apr 7, 2023 · 2 comments

Comments

@plweil
Copy link

plweil commented Apr 7, 2023

<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>
@Jinjiang
Copy link
Member

Hi @plweil glad you found this. Let me explain:

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
Copy link
Author

plweil commented Apr 12, 2023

Yes, I didn't realize that it was added so recently. My apologies. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants