I\'m making a form. And on one input
tag is an OnClick
event handler, which is opening a popup, where you can choose some stuff, and then it autofi
Required
and readonly
don't work together.
But readonly
can be replaced with following construction:
1) onkeydown
will stop manipulation with data
2) style="caret-color: transparent !important;"
will hide cursor.
3) you can add style="pointer-events: none;"
if you don't have any events on your input, but it was not my case, because I used a Month Picker
. My Month picker
is showing a dialog on click.