|
32 | 32 | </p>
|
33 | 33 | <p>
|
34 | 34 | Nullable int:
|
35 |
| - <input id="textbox-nullable-int" @bind="textboxNullableIntValue" type="number" /> |
| 35 | + <input id="textbox-nullable-int" @bind-value="textboxNullableIntValue" type="number" /> |
36 | 36 | <span id="textbox-nullable-int-value">@textboxNullableIntValue</span>
|
37 | 37 | <input id="textbox-nullable-int-mirror" @bind="textboxNullableIntValue" readonly />
|
38 | 38 | </p>
|
|
50 | 50 | </p>
|
51 | 51 | <p>
|
52 | 52 | float:
|
53 |
| - <input id="textbox-float" @bind="textboxFloatValue" type="number" /> |
| 53 | + <input id="textbox-float" @bind-value="textboxFloatValue" type="number" /> |
54 | 54 | <span id="textbox-float-value">@textboxFloatValue</span>
|
55 | 55 | <input id="textbox-float-mirror" @bind="textboxFloatValue" readonly />
|
56 | 56 | </p>
|
|
74 | 74 | </p>
|
75 | 75 | <p>
|
76 | 76 | decimal:
|
77 |
| - <input id="textbox-decimal" @bind="textboxDecimalValue" type="number" /> |
| 77 | + <input id="textbox-decimal" @bind-value="textboxDecimalValue" type="number" /> |
78 | 78 | <span id="textbox-decimal-value">@textboxDecimalValue</span>
|
79 | 79 | <input id="textbox-decimal-mirror" @bind="textboxDecimalValue" readonly />
|
80 | 80 | </p>
|
|
119 | 119 | </p>
|
120 | 120 | <p>
|
121 | 121 | Nullable DateTime:
|
122 |
| - <input id="textbox-nullable-datetime" @bind="textboxNullableDateTimeValue" type="text" /> |
| 122 | + <input id="textbox-nullable-datetime" @bind-value="textboxNullableDateTimeValue" type="text" /> |
123 | 123 | <span id="textbox-nullable-datetime-value">@textboxNullableDateTimeValue</span>
|
124 | 124 | <input id="textbox-nullable-datetime-mirror" @bind="textboxNullableDateTimeValue" readonly />
|
125 | 125 | </p>
|
|
149 | 149 | </p>
|
150 | 150 | <p>
|
151 | 151 | DateTime (format):
|
152 |
| - <input id="textbox-datetime-format" @bind="textboxDateTimeFormatValue" type="text" @bind:format="MM-dd" /> |
| 152 | + <input id="textbox-datetime-format" @bind-value="textboxDateTimeFormatValue" type="text" @bind-value:format="MM-dd" /> |
153 | 153 | <span id="textbox-datetime-format-value">@textboxDateTimeFormatValue</span>
|
154 | 154 | <input id="textbox-datetime-format-mirror" @bind="textboxDateTimeFormatValue" readonly />
|
155 | 155 | </p>
|
|
161 | 161 | </p>
|
162 | 162 | <p>
|
163 | 163 | DateTime (format / invalid value):
|
164 |
| - <input id="textbox-datetime-format-invalid" @bind="textboxDateTimeFormatInvalidValue" type="text" @bind:format="MM-dd" /> |
| 164 | + <input id="textbox-datetime-format-invalid" @bind-value="textboxDateTimeFormatInvalidValue" type="text" @bind-value:format="MM-dd" /> |
165 | 165 | <span id="textbox-datetime-format-invalid-value">@textboxDateTimeFormatInvalidValue</span>
|
166 | 166 | <input id="textbox-datetime-format-invalid-mirror" @bind="textboxDateTimeFormatInvalidValue" readonly />
|
167 | 167 | </p>
|
|
0 commit comments