contao/import — Issue #2477: Widget "TimePeriod"
Author: aschempp
Created: 2011-11-29 19:38:19+00:00
State: open
Labels: backend, Defect

This special widget is - according to my findings - exactly the same as inputUnit, only the select menu is larger. I don't want to discuss if a second widget for that is the right approach, but there are some inconsistencies we should fix:

1: the widget class has been moved from extension "calendar" to "backend", but the BE_FFL definition remains in calendar/config/config.php. It should be in backend/config/config.php
2: TimePeriod does not use trim() in validator() function. I suppose that has been added to InputUnit after duplicating.
3: TimePeriod does not support the attributes "class" and "wizard". I suppose that's also because the widget has not been updated lately.

--- _Originally created on August 26th, 2010, at 11:36pm (ID 2477)_