I have a custom component which has a label and a input box. I want to make the input box readonly. How do I achieve the below?
<custom-component [readonly]=true>
My custom component template is below
<div>
    <div><label>Hello</label></div>
    <div><input class="input input-lg" id="float-input" type="text" size="30" pInputText [(ngModel)]="value"
           (change)="onChange(value)" (keydown)="onChange(value)" (keyup)="onChange(value)"
           (keypress)="onChange(value)">
    </div>
</div>
 
     
    