Skip to content

Commit f9461d0

Browse files
committed
remove el from list of elements where custom elements are not allowed
1 parent fc9801b commit f9461d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Vue.js template engine is DOM-based and uses native parser that comes with the b
149149

150150
In practice these restriction can cause unexpected behavior. Although in simple cases it might appear to work, you can not rely on custom elements being expanded before browser validation. E.g. `<my-select><option>...</option></my-select>` is not a valid template even if `my-select` component eventually expands to `<select>...</select>`.
151151

152-
Another consequence is that you can not use custom tags (including custom elements and special tags like `<component>`, `<template>` and `<partial>`) inside of `ul`, `select`, `table` and other elements with similar restrictions. Custom tags will be hoisted out and thus not render properly.
152+
Another consequence is that you can not use custom tags (including custom elements and special tags like `<component>`, `<template>` and `<partial>`) inside of `select`, `table` and other elements with similar restrictions. Custom tags will be hoisted out and thus not render properly.
153153

154154
In case of a custom element you should use the `is` special attribute:
155155

0 commit comments

Comments
 (0)