You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMO current code is not support uncontrolled component, so it would be good to have value and onChange props required
Someday for uncontrolled component may be form of
<formonSubmit={(e)=>{e.preventDefault();constformData=newFormData(e.currentTarget);consttags=formData.get("tags");// should be such like ["banana", "apple"]}}><TagsInputname="tags"/></form>
The text was updated successfully, but these errors were encountered:
react-tag-input-component/src/index.tsx
Line 47 in 861e4e7
Here the code seems considered undefined
value
but below code makes thetags
undefined and make throw error.react-tag-input-component/src/index.tsx
Lines 53 to 57 in 861e4e7
IMO current code is not support uncontrolled component, so it would be good to have
value
andonChange
props requiredSomeday for uncontrolled component may be form of
The text was updated successfully, but these errors were encountered: