From 70d20d446869a3c9b0d7b627e915a1cdc658455c Mon Sep 17 00:00:00 2001 From: fer22f Date: Thu, 25 Jul 2019 16:24:31 -0300 Subject: [PATCH] Document gotcha with :is and DOM props --- src/v2/guide/components.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/v2/guide/components.md b/src/v2/guide/components.md index 1d84a97a50..52d8611955 100644 --- a/src/v2/guide/components.md +++ b/src/v2/guide/components.md @@ -603,6 +603,8 @@ In the example above, `currentTabComponent` can contain either: See [this fiddle](https://jsfiddle.net/chrisvfritz/o3nycadu/) to experiment with the full code, or [this version](https://jsfiddle.net/chrisvfritz/b2qj69o1/) for an example binding to a component's options object, instead of its registered name. +Keep in mind that this attribute can be used with regular HTML elements, however they will be treated as components, which means all attributes **will be bound as DOM attributes**. For some properties such as `value` to work as you would expect, you will need to bind them using the [`.prop` modifier](../api/#v-bind). + That's all you need to know about dynamic components for now, but once you've finished reading this page and feel comfortable with its content, we recommend coming back later to read the full guide on [Dynamic & Async Components](components-dynamic-async.html). ## DOM Template Parsing Caveats