File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
adev/src/content/guide/signals Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,7 @@ through the template.
128128
129129## When to use model inputs
130130
131- Use model inputs in components that exist to modify a value based on user interaction.
132- Custom form controls, such as a date picker or combobox, should use model inputs for their
133- primary value.
134-
135- Avoid using model inputs as a convenience to avoid introducing an additional class property for
136- containing local state.
131+ Use model inputs when you want a component to support two-way binding. This is typically
132+ appropriate when a component exists to modify a value based on user interaction. Most commonly,
133+ custom form controls such as a date picker or combobox should use model inputs for their primary
134+ value.
You can’t perform that action at this time.
0 commit comments