D
D
Dmitry Arushanov2018-02-26 14:39:06
JavaScript
Dmitry Arushanov, 2018-02-26 14:39:06

How to highlight text in ExtJs Input?

Good day to all.
With ExtJs I understand not so long ago. The question is how to highlight the entered text inside the input.
So that inside the input certain words are highlighted in a different color.
Maybe there are ready-made components? Or Which is better and how to override?
When I tried to come up with something myself, I added a label for the text to Tpl, and masked the input itself. And when the user entered the text, he listened to the change event and updated the text that displayed it in the label. But the problem is when there is a lot of text in the input, then the input scrolls, but there is no label ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question