tagify icon indicating copy to clipboard operation
tagify copied to clipboard

[React] setMixModeReadonly doesn't exist

Open raikow opened this issue 6 years ago • 0 comments

Prerequisites

  • [x] I am running the latest version
  • [x] I checked the documentation and found no answer
  • [x] I checked to make sure that this issue has not already been filed

Explanation

I noticed that some methods of the react demo page (in /src/tagify/tagify.js) are missing in the released lib files (node-modules/@yaireo/tagify/src/tagify.js).

<MixedTags
  tagifyRef={instance}
  settings={settings}
  className="myTags"
  onChange={handleOnChange}
  readOnly={readonly}
>
{value}
</MixedTags>
  • What is the expected behavior? When switching readonly variable to true, it should put the component in readonly

  • What is happening instead? It didn't found the method: Throw react error

  • What error message are you getting? K.current.setMixModeReadonly is not a function

raikow avatar Nov 04 '20 09:11 raikow