浏览代码

Add missing border to fill example (#4104)

Benjamin Bock 1 年之前
父节点
当前提交
fce7e3784a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/docs/src/en/directives/model.md

+ 1 - 1
packages/docs/src/en/directives/model.md

@@ -379,7 +379,7 @@ By default, if an input has a value attribute, it is ignored by Alpine and inste
 But if a bound property is empty, then you can use an input's value attribute to populate the property by adding the `.fill` modifier.
 
 <div x-data="{ message: null }">
-  <input x-model.fill="message" value="This is the default message.">
+  <input type="text" x-model.fill="message" value="This is the default message.">
 </div>
 
 <a name="programmatic access"></a>