Bug #3473
closedWComboBox issue when javascript disabled
0%
Description
When javascript is disabled, WComboBox's signals never fire when the selection is changed. I have tried with the changed(), activated() and sactivated() signals. I don't know whether this is a limitation with the class (it actually depends fully on Javascript) or whether it is an issue.
We have currently got a work around by using WPushButtons alongside the combo box's so that the user can click these buttons to update the selection based on what is selected within the combo box, but for the WCalendar class, where we have no access to the month combo box, we don't have a way to update the view at all, unless we create our own duplicate month selection outside of the widget, with a push button to then prompt calling the select function within WCalendar.
Updated by Wim Dumon over 10 years ago
- Status changed from New to Feedback
Hi Edwin,
The changed signal is indeed never fired if JS is not available. For WCalendar, we should probably disable the combobox all together and only allow the user to switch months by means of the previous/next buttons. Do you agree?
Wim.
Updated by Edwin Bentley over 10 years ago
Hi Wim,
Yes, that makes sense to me.
Thanks,
Edwin
Updated by Koen Deforche about 10 years ago
- Status changed from Feedback to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.3.4
Updated by Koen Deforche about 10 years ago
- Status changed from Resolved to Closed