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
StatusUpdateForm accepts prop trigger that expects an object, which keys are strings serving as form's triggers for autocomplete feature. This feature is supported by a stale dependency react-textarea-autocomplete. The fact that the trigger has to be a string is limiting, because if user wants to define a more general trigger pattern in form of regex, this is not supported by the current dependency.
Proposed solution
Allow the user to provide own handler that would recognize regex triggers as well.
The text was updated successfully, but these errors were encountered:
MartinCupela
changed the title
Allow for custom mentions trigger controller to be plugged to StatusUpdateForm
refactor: Allow for custom mentions trigger controller to be plugged to StatusUpdateForm
Mar 7, 2022
Problem / Motivation
StatusUpdateForm
accepts proptrigger
that expects an object, which keys are strings serving as form's triggers for autocomplete feature. This feature is supported by a stale dependency react-textarea-autocomplete. The fact that the trigger has to be a string is limiting, because if user wants to define a more general trigger pattern in form of regex, this is not supported by the current dependency.Proposed solution
Allow the user to provide own handler that would recognize regex triggers as well.
The text was updated successfully, but these errors were encountered: