I have created a page and am currently converting the page to use bootstrap. I was using an apex:inputField
and nothing is wrong except that inputField does not accept disabled as an attribute. So I am trying to convert it into a regular input element and it works as expected but the moment I remove the inputField it breaks the entire page and shows "Error occurred while loading a Visualforce page."
<div class="col-md-4 col-sm-6 col-xs-12 noPadding">
<h4>I need assistance with</h4><span class="required">*</span>
<apex:inputField value="{!Case.I_need_assistance_with__c}" />
<input class="form-control col-md-6 col-sm-8 col-xs-12" id="disabledInput" type="text" placeholder="{!Case.I_need_assistance_with__c}" disabled="true" />
</div>
Why is removing this line causing an error?