function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raja Sharma 7Raja Sharma 7 

Issue in Action Region

I am using action: region on an input field but because of this that input field is not showing at proper position and also its label is not coming, whereas the other fields are working fine in which I am not using action region, so how can I make that field responsible and also gets its label. and also we cannot remove action: region because some functionality is based on it. 
Manish  ChoudhariManish Choudhari
Hi Raja,

I am not sure how you are using your action:region, but doing this like below should resolve your UI inconsistency problem.
 
<apex:actionRegion>
        <apex:inputField value="{!opportunity.stageName}" id="stage">
              <apex:actionSupport event="onchange" rerender="thePageBlock"
                              status="status"/>
        </apex:inputField>
</apex:actionRegion>

Let me know if this helps. Also please provide your code here so that I can have a look.

Thanks,
Manish
http://sfdcfacts.com/ 
Raja Sharma 7Raja Sharma 7
Hello Manish,

Thank you for the reply.

This is my cod.

 <apex:actionRegion >
        <apex:inputField value="{!Orderlineitem.Master_Material_Lookup__c}">
              <apex:actionSupport event="onchange" action="{!lookupForMM}" reRender="block2"/>
        </apex:inputField
  </apex:actionRegion>

Thanks,
Raja