viclafouch / mui-chips-input

📌 A chips input designed for MUI (Material ui) V6
https://viclafouch.github.io/mui-chips-input/
MIT License
83 stars 19 forks source link

Request for official documentation on the `addOnWhichKey` attribute. #48

Closed ynng3 closed 1 week ago

ynng3 commented 1 week ago

I was developing a feature to automatically add items to an array when a comma is input. During this process, I opened the module and discovered that this functionality is already possible through this attribute.

However, the official documentation does not mention this attribute for the component, which poses a risk of unnecessary development for users.

I also developed unnecessary code since I was unaware of this feature, and then had to delete it. I hope this component attribute will be included in the official documentation.

ynng3 commented 1 week ago

50 I simply wanted to request the addition of documentation from the creator, but I learned that it is possible to make a Pull Request for the documentation, so I directly made a Pull Request for the issue.

viclafouch commented 1 week ago

Hello !

Sorry for the documentation, looks like I forgot to mention this feature ahah.

Thanks anyway !