[KULRICE-10883] Date picker (and other widgets) still work when a field is disabled Created: 08/Oct/13  Updated: 24/Sep/14  Resolved: 11/Mar/14

Status: Closed
Project: Kuali Rice Development
Component/s: Development, User Experience (UX), User Interface
Affects Version/s: None
Fix Version/s: 2.5
Security Level: Public (Public: Anyone can view)

Type: Bug Fix Priority: Critical
Reporter: Tony Potts (Inactive) Assignee: Jeff Covey (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 4 hours
Original Estimate: 4 hours

Issue Links:
Duplicate
is duplicated by KULRICE-7141 Verify that Disabled for datepicker a... Closed
Relate
relates to KULRICE-12616 Date Picker icon still has color even... Open
relates to KULRICE-12615 Text Area still editable even when di... Closed
relates to KULRICE-13688 Fill AFT per-screen item gap: KRAD Li... Closed
is related to KULRICE-7211 Default datePicker widget disabled pr... Closed
Similar issues:
KULRICE-13117Disable Date Picker Control when the field is disabled
KULRICE-12616Date Picker icon still has color even when disabled
KULRICE-7211Default datePicker widget disabled property to disabled property on control
KULRICE-9666custom search attribute with non-ranged date picker doesn't render the widget
KULRICE-5888Date picker not accessible by keyboard
KULRICE-7141Verify that Disabled for datepicker and lookup widgets can be disabled client-side when disabled on the fly
KULRICE-7999Dirty fields not being updated when using a date picker
KULRICE-11751Field groups and date picker being doubled in labs proposal
KULRICE-5639Within the date-picker widget, there are previous and next buttons. In IE, when hovering over these, the images flicker on and off. When clicking, nothing happens.
KULRICE-7261Datepicker - InputField not properly updated when format is "mm-dd-yy" and input field is bound to a Date
Epic Link: Components
Rice Module:
KRAD
Sprint: 2.5.0-m1 Sprint 1, 2.5.0-m1 Sprint 2
KAI Review Status: Not Required
KTI Review Status: Not Required
Code Review Status: Not Required
Include in Release Notes?:
Yes

 Description   

When a field becomes disabled, the date picker still works and changes the value. Likely there would be an issue with other widgets as well (quickfinder). The widgets should become hidden when the field is disabled.

Need to address:

  • date picker
  • quick finder (make sure inquiry remains enabled)
  • spinner
  • text area (allow text area to be expanded/popped up in read only mode)

Also to do:

  • Add these cases to KRAD Library -> Client Responsiveness -> Disable (done)
  • Create QA Jira to update the AFT to verify that these cases work correctly


 Comments   
Comment by Claus Niesen [ 27/Jan/14 ]

User Experience Question:

What should the disable behavior for the lookup, expand, data picker and spinner icons be?

  • Leave icons as is but make them inoperable.
  • Remove the icons. (Is there a danger of the layout changing?)
  • Replace them with inactive icons.

Implementation question:

How should we implement the disable features for the various widgets/controls that update an input field?

  • We can't just assume every widget needs to be disabled.
  • Adding new widgets should not require core KRAD code to be updated.
Comment by Tom Clark [ 17/Feb/14 ]

Of the three suggestions above, I think #3 makes the most sense in this case. The icons are now rendered via fonts and css (no images), so we would need a 'disabled' class to be applied to the icon, and from there we can create the appropriate disabled styling. The DOM output would looks something like this:

<span class="icon-cool disabled"></span>

Comment by Jerry Neal (Inactive) [ 10/Mar/14 ]

Jeff,

Can you try to wrap this up before the sprint ends tomorrow?

thanks,
Jerry

Comment by Adam Campbell (Inactive) [ 05/May/14 ]

Created RICEQA-355 to modify AFTs for KULRICE-12615 and KULRICE-12616.

Generated at Thu Nov 21 06:56:44 CST 2019 using JIRA 6.1.5#6160-sha1:a61a0fc278117a0da0ec9b89167b8f29b6afdab2.