How to make the input readonly?

Hi,guys
How to make the input(in properties) readonly ?
I change the TextInputEntryFactory.js, why it doesn’t works?

Thanks in advance !!!

It doesn’t works too ! What is wrong with that?

What is the context you are working in? bpmn-js?

properties-panel-extension. What should I do to make the input readonly? Thanks

Does anyone know to make read-only field

I also want to make a field ready only . Please help me out