react icon indicating copy to clipboard operation
react copied to clipboard

[Question] How can i use custom react package?

Open lazydevbutler opened this issue 5 years ago • 1 comments

How can i implement a word highlighting package or function such as https://github.com/bonafideduck/react-highlight-within-textarea, together with form.io text area?

lazydevbutler avatar Oct 19 '20 15:10 lazydevbutler

You can achieve something like this only by direct nodes manipulation since react-formio Form is only a wrapper for the core formiojs components. To select the component root node use the following selector pattern .formio-component-${componentAPIKey} To select the input of the component use .formio-component-${componentAPIKey} [ref='input']

alexandraRamanenka avatar Oct 21 '20 18:10 alexandraRamanenka

I am closing the issue as it was created too long ago and there is no new comments here. If the issue is not resolved, please reopen it. Thanks!

TanyaGashtold avatar Aug 31 '23 13:08 TanyaGashtold