web-ui-fw/web-ui-fw — Issue #38: [calendarpicker] Disable prev and next button when it becomes useless
Author: gabrielschulhof
Created: 2011-12-21 12:02:42+00:00
State: open

When the calendarpicker has beforeToday turned on, then dates earlier than today cannot be selected. Thus, the button that would allow one to display an earlier page should be disabled when the currently displayed page contains today.

Similaraly, the button allowing later pages to be displayed should be disabled when the current options so require.

Currently, the two buttons work in that they prevent invalid pages from being displayed, but they are not disabled.