+ Start a Discussion

component not assigning values to inputFields in controller

I have VF component which has certain input fields tied up with an object in controller variable as below:
<apex:outputLabel value="Field Name" for="fieldName"></apex:outputLabel>
<apex:inputField value="{!newField.Name}" id="fieldName"/> 
<apex:outputLabel value="Field Type" for="fieldType"></apex:outputLabel>
<apex:inputField value="{!newField.Type_of_Field__c}" id="fieldType">
<apex:actionSupport event="onchange" action="{!showValueField}" rerender="valuePanel"/>
public Case_Dynamic_Field__c newField {get;set;}
After providing valule in newField.Name input field,  when I change selection in Type_of_Field__c, which is a picklist, it triggers a apex controller function call. In that function, I am debugging newField. There I am getting no values assigned to Name and Type_of_Field__c, while I was expecting values in both fields as provided in browser.

I have ensured that immediate is not used anywhere.
<apex:pageMessages/> does not render any message.
There is no actionRegion used