I have one input box. I am showing some value in it. I want to make that input box as read-only. But arrows key, Home key, End key these keys should work.
I am showing multiple URLs by comma separated way. I want to navigate between these URLs. That's why I need above keys should work.
I tried with [readonly]="true"
, but I cant navigate within input box.
I can not use disabled
as well.
<input matInput placeholder="Enter Promotional Link URL" [(ngModel)]="lms.LmPromotionalUrl" name="LmPromotionalUrl">
output
www.facebook.com,www.google.com,www.cisco.com
Is there any way to achieve this behaviour?