Explorar o código

Add missing border to fill example (#4104)

Benjamin Bock hai 1 ano
pai
achega
fce7e3784a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>