<lightning-input value={value} class="slds-p-horizontal--xx-small" variant="label-hidden"></lightning-input>
<lightning-input type="number" name="input7" value={value} class="slds-p-horizontal--xx-small" variant="label-hidden" step="any"></lightning-input>
<lightning-input type="number" value={value} class="slds-p-horizontal--xx-small" variant="label-hidden"></lightning-input>
<lightning-input value={value} type='date' variant="label-hidden" class="slds-p-horizontal--xx-small"></lightning-input>
<lightning-combobox class="slds-p-horizontal--xx-small"options={options} value={value} variant="label-hidden"></lightning-combobox>
<lightning-textarea name={record.id} class="slds-p-horizontal--xx-small" variant="label-hidden"></lightning-textarea>
I want to make all the above elements read-only on button click. In which way we would dynamically make the input element read-only/disabled.
Thanks in advance.