View Issue Details

IDProjectCategoryView StatusLast Update
0000324Adventure PHP FrameworkNeues Feature // New Featurepublic2017-09-30 13:20
ReporterChristianAchatzAssigned ToChristianAchatz 
Status resolvedResolutionfixed 
Product Version3.4 
Target Version3.4Fixed in Version3.4 
Summary0000324: Extend API of SelectBoxTag to remove all or just single options
DescriptionThe API of SelectBoxTag (i.e. used within controller or tag code) has no option to remove all or single options or option groups. Previously filled select boxes can thus not be manipulated afterwards.

Relevant use case: DateSelectorTag cannot be manipulated within controller when "yearange" parameter does not help to implement use case. See details in discussion under
TagsNo tags attached.
Codereferenz: ([Datei]:[Zeile])



2017-09-30 13:16

administrator   ~0000795

See changes under and Removing options and group options can now be conducted as follows:

$select->removeOption('2'); // selection by value
$select->removeOption('Four'); // selection by display name

Removing all options and groups works as follows:


Issue History

Date Modified Username Field Change
2017-09-26 16:30 ChristianAchatz New Issue
2017-09-26 16:30 ChristianAchatz Status new => assigned
2017-09-26 16:30 ChristianAchatz Assigned To => ChristianAchatz
2017-09-30 13:16 ChristianAchatz Note Added: 0000795
2017-09-30 13:20 ChristianAchatz Status assigned => resolved
2017-09-30 13:20 ChristianAchatz Resolution open => fixed
2017-09-30 13:20 ChristianAchatz Fixed in Version => 3.4