<div class="md-form">
<input type="text" id="input-example" class="form-control" value="This text is read-only" disabled>
<label for="input-example" class="disabled">Example label</label>
</div>
Based on the version from MDB:
https://mdbootstrap.com/components/inputs/
No additional actions, aside from the markup, are needed to use this component.
for
attribute on the label element and the corresponding id
on the input elementdisabled
attribute on the input elementdisabled
class on the label element