Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021380Openbravo ERPA. Platformpublic2012-08-19 01:012016-10-24 09:17
pjuvara 
alostale 
normalminoralways
closedfixed 
5
3.0MP12.1 
3.0MP15 
marvintm
Core
No
0021380: When the first focus field is a drop down list, the content of the field should be selected
Openbravo's general UI rules imply that when you navigate to a field that contains a value (for example, you tab into it), the content of the field is selected.
This way, if you want to change the value, you just need to type; if you want to leave the value as is, you can simply tab out of the field and move on.

This does not work when the first focused field is a drop down list. In that case, the focus is correctly positioned in the field but instead of having its value pre-selected, it is at the end (after the last character). This means that to change the value, you first need to delete the current one and that takes a lot of clicks, making the operation of the software much slower and less agile.
1) Configure the Account Tree window so that the first focused field in the Element Values tab is "Element Level".
2) Navigate to that window
3) Create a new record in Form view - you will see that the cursor is placed at the end of the "Account" default value.
4) Try to change to "Subaccount".
The value of a field should always be pre-selected when the focus enter the field, in all situations.
No tags attached.
related to defect 00198763.0MP9 closed mtaal Can not type in text field of combo 
related to defect 0034057 closed NaroaIriarte Wrong Tabulation Order in form fields in Organization window 
Issue History
2012-08-19 01:01pjuvaraNew Issue
2012-08-19 01:01pjuvaraAssigned To => alostale
2012-08-19 01:01pjuvaraModules => Core
2012-08-20 09:30AugustoMauchRelationship addedrelated to 0019876
2012-08-20 09:36hgbotCheckin
2012-08-20 09:36hgbotNote Added: 0051354
2012-08-20 09:36hgbotStatusnew => resolved
2012-08-20 09:36hgbotResolutionopen => fixed
2012-08-20 09:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f663cbc1d3c900dd98872854b53e8546a5e27490 [^]
2012-08-20 09:39AugustoMauchNote Added: 0051356
2012-08-29 16:43marvintmClosed by => marvintm
2012-08-29 16:43marvintmStatusresolved => closed
2012-08-29 16:43marvintmFixed in Version => 3.0MP15
2016-10-24 09:17NaroaIriarteRelationship addedrelated to 0034057

Notes
(0051354)
hgbot   
2012-08-20 09:36   
Repository: erp/devel/pi
Changeset: f663cbc1d3c900dd98872854b53e8546a5e27490
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Aug 20 09:33:20 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f663cbc1d3c900dd98872854b53e8546a5e27490 [^]

Fixes issue 21380: List field value is selected on focus

When the a list field is focused, its value will be selected. This has been achieved by setting to true its selectOnFocus property.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
---
(0051356)
AugustoMauch   
2012-08-20 09:39   
The fix for this issue backs out the changeset that fixes this other issue [1]. Anyway, after backing it out the issue is not reproducible, so it is safe to do it.

[1] https://issues.openbravo.com/view.php?id=19876 [^]