FLUID-1767: Inline edit textarea reacts wrongly on enters

Metadata

Source
FLUID-1767
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Nicolaas Matthijs
Created
2008-11-05T10:08:58.000-0500
Updated
2011-02-22T16:27:58.451-0500
Versions
N/A
Fixed Versions
  1. 0.6
Component
  1. Inline Edit

Description

I created an inline edit field that had to change into a textarea. The html looks like this:

<div class="inlineEditable">
<div id="txt_aboutme" class="text"></div>
<div class="editContainer">
<textarea class="edit"></textarea>
</div>
</div>

This works, but if I hit enter while inside the edit mode, it switches back to view mode. This means I am
unable to put enters inside my textarea, which is the whole points of a textarea.

Comments

  • Antranig Basman commented 2008-11-07T13:10:34.000-0500

    Fixed at revision 5977. There is a new "submitOnEnter" property, which if unassigned (the default) will infer from the tag type of the edit view, whether the enter key should be interpreted as a submission or left to propagate as default. If the property is set, it allows the interpretation of Enter to be forced.

  • Michelle D'Souza commented 2011-02-22T16:27:58.450-0500

    Closing issues that were resolved for 1.0 and earlier releases.