A patch from Leon for "slight patch to "other-field-size" of drop-down form element"" https://issues.apache.org/jira/browse/OFBIZ-5285
"other-field-size" of drop-down form element is a very nice feature, but it's crippled in current version. attached a patch to make it works and added an example section for that into FormWidgetExample. jleroux: Interesting, I did not know this feature existed, it was committed long ago by David (before ASF era) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1511279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -252,6 +252,19 @@ under the License.
|
||||
</drop-down>
|
||||
</field>
|
||||
<!-- ****************************** -->
|
||||
<!-- *** Specify-other dropdown *** -->
|
||||
<!-- ****************************** -->
|
||||
<field name="emptyField1" title=" "><display/></field>
|
||||
<field name="otherValue" title="${uiLabelMap.ExampleSpecifyOtherDropdown}"
|
||||
tooltip="${uiLabelMap.ExampleSpecifyOtherTooltip}" tooltip-style="button-text" >
|
||||
<drop-down other-field-size="15">
|
||||
<option key="A" description="Option A" />
|
||||
<option key="B" description="Option B" />
|
||||
<option key="C" description="Option C" />
|
||||
<option key="_OTHER_" description="specify other" />
|
||||
</drop-down>
|
||||
</field>
|
||||
<!-- ****************************** -->
|
||||
<!-- *** Dependent dropdowns *** -->
|
||||
<!-- ****************************** -->
|
||||
<field name="emptyField2" title=" "><display/></field>
|
||||
|
||||
Reference in New Issue
Block a user