How can I truly enable inline editing on Detail tag?

I have a very simple VF page (below) but it does not really support Inline Editing. When I double-click a field that should accept editing (with a pencil icon), the Save/Cancel buttons show up but the text-box does not show up. Picklists, Lookups, check-boxes also do not work.

Beyond that, when I press Save, nothing happens. The Save button goes light-grey but no actions take place. The Cancel button works.

Is there a step I am missing that will actually activate inline editing or have I found a bug?

Note: The standard view page on the same Opportunity works as expected.

Note: Within the JS console, these two errors are displayed:

Uncaught TypeError: Cannot read property 'Tab' of undefined main.js:1002
Uncaught TypeError: Cannot read property 'Icons' of undefined

<apex:page standardController="Opportunity">
   <apex:detail subject="{!Opportunity}" inlineEdit="true" /> 
</apex:page>

Answer

can you try give name to text control and buttons both the id and the name attributes. for example,

most browsers looking for both id and name for a form control

Attribution
Source : Link , Question Author : UserIsStuck , Answer Author : Bforce

Leave a Comment