I'm getting the input using <apex:inputField> (must be inputField rather than inputText to enforce FLS). The disabled attribute is not supported for the <apex:inputField> tag, so I'm trying to use an html passthrough attribute from the custom controller:
html-disabled="{!booleanVariable}"`
Based on the boolean value I'm planning to enable and disable the field. However, when I try to use html-disabled="true" or html-disabled="true" or html-disabled="" every values always make this input field disabled.
What am I doing wrong here?