[SalesForce] How to add placeholder for lightning:InputField

standard html or lightning input has a attribute "placehodler" that allows us to enter a place holder value for the input field, but
lightning:inputField does not have that attribute supported. Is there a work around to achieve this or am i missing something here ?
<lightning:inputField name="Phone" placeholder = "enter phone number" />

Best Answer

I found a workaround solution for this. We need to make the lightning:InputField disabled and then use lightning-input for the place holder. Then on submit of the form in javascript controller set the field value before submitting.