Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042608Retail ModulesWeb POSpublic2019-12-19 11:132019-12-20 09:16
kchoperena 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR20Q1 
marvintm
No
0042608: The rendered function of OB.UI.FormElement.Select component is not calling to enyo.Select.prototype.rendered
The rendered function of OB.UI.FormElement.Select component is not calling to enyo.Select.prototype.rendered .

The first time that the component is instantiated is not taking into account the default value because the component is not rendered yet.
Create a component that with kind:'OB.UI.FormElement.Select'.
For example: Any OB.UI.renderComboProperty use this element.

Try to set a default value to show it the first time opened.

Example case with delivery modes functionality: https://drive.google.com/file/d/1d9hanQOaHJKJdBrbhEVATqfxPiDL44fv/view [^]

EXPECTED RESULT:

The component is not taking into account the selected value because is not rendered yet.
No tags attached.
diff oBUiFormElementSelectRendered.diff (491) 2019-12-19 11:13
https://issues.openbravo.com/file_download.php?file_id=13696&type=bug
Issue History
2019-12-19 11:13kchoperenaNew Issue
2019-12-19 11:13kchoperenaAssigned To => Retail
2019-12-19 11:13kchoperenaFile Added: oBUiFormElementSelectRendered.diff
2019-12-19 11:13kchoperenaResolution time => 1577919600
2019-12-19 11:13kchoperenaTriggers an Emergency Pack => No
2019-12-19 11:54kchoperenaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19942#r19942
2019-12-19 12:35ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-12-20 03:19ranjith_qualiantech_comStatusnew => scheduled
2019-12-20 03:32hgbotCheckin
2019-12-20 03:32hgbotNote Added: 0116443
2019-12-20 03:32hgbotStatusscheduled => resolved
2019-12-20 03:32hgbotResolutionopen => fixed
2019-12-20 03:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/40ef90f0609ebb5413ee9efface5feb958e72be7 [^]
2019-12-20 09:16marvintmReview Assigned To => marvintm
2019-12-20 09:16marvintmStatusresolved => closed
2019-12-20 09:16marvintmFixed in Version => RR20Q1

Notes
(0116443)
hgbot   
2019-12-20 03:32   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 40ef90f0609ebb5413ee9efface5feb958e72be7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Dec 20 08:02:31 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/40ef90f0609ebb5413ee9efface5feb958e72be7 [^]

Fixed issue 42608 : Updated Rendered function of OB.UI.FormElement.Select

---
M web/org.openbravo.mobile.core/source/component/ob-form.js
---