1
0
Эх сурвалжийг харах

Add missing border to fill example (#4104)

Benjamin Bock 1 жил өмнө
parent
commit
fce7e3784a

+ 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>