Single-item dropdowns should default to the lone value

Description

When a dropdown has only one value, then it should automatically default to that
value.

For example, at Jitegemea, when selecting the Enter Collection Sheet Data page,
there are two dropdowns which have only one value.

The 'Branch' dropdown has only one option currently, 'Jogoo Road', but you must
click the dropdown and choose it. Likewise, the 'Mode of Payment' dropdown only
has one option, 'Cash'.

There are other cases of this also.

Hopefully we can change the widget across the application to always default to
the lone value. It will make the application more efficient and user-friendly.

Environment

Platform: All, OS: All

Activity

Show:
Kamil Kalfas
June 22, 2012, 9:30 AM

Build Number: head-i-release-commit-25

Mifos Hudson Jira Plugin User
June 22, 2012, 5:04 PM

Integrated in

head-i-release-secondary #25
MIFOS-1501: Removed doubled jquery script

Kamil Kalfas :
Files :

  • userInterface/src/main/resources/org/mifos/ui/freemarker/core/createLoanAccountEnterDetails.ftl

Łukasz Babski
June 26, 2012, 11:17 AM

Kamil,
autoselect in some dropdowns is not desirable:

CREATE NEW CENTER:
-Apply additional fees

CREATE NEW GROUP:
-Additional Fees

CREATE NEW CLIENT:
-Salutation
-Martial status
-Citizenship
-Ethnicity
-Education Level
-Activities
-Handicaped
-Apply additional fees
-Create Savings accounts

CREATING LOAN ACCOUNT:
-Purpose of loan
-Source of funds
-Collateral type
-Apply Additional Fees

CREATE LOAN ACCOUNTS (MULTIPLE LOANS):
-Purpose of Loan

REDO LOAN ACCOUNT:
-Source of funds
-Purpose of loan
-Collateral type

YOUR SETTINGS:
-Martial status

Kamil Kalfas
June 29, 2012, 6:59 AM

Fixed in commit: 74c2a00c5a89e907b47b1201deed4bce8303045d
Build Number: head-i-release-commit-30

Łukasz Babski
June 29, 2012, 11:00 AM

Now it is OK. Improvement works properly.
Build Date: Fri Jun 29 01:09:51 PDT 2012
Build Number: hudson-head-i-release-archive-24

Assignee

Kamil Kalfas

Reporter

bberning

Labels

None

Implementation Priority

None

URL

None

Story Points

None

Team

None

Scheduled For

None

Epic

None

productboard URL

None

Man Day Estimate

None

Time tracking

16h

Components

Fix versions

Affects versions

Priority

Minor
Configure