Controlling Inputs
Controlling Inputs (๐ solution)
๐จโ๐ผ Great! Now you can add/remove each of these tags to the search when they're
checked. Programmatically controlling the input value is why you use the
value
prop.But the feature is incomplete because a user could manually type the tag into
the search input and it would not be reflected in the checkbox. Let's look at
that next.