[TYPO3-core] RFC: TCEForms -- Group Field with one option does not have to be selected
Benjamin Mack
mack at xnos.org
Mon Oct 8 17:10:39 CEST 2007
Hey,
yeah, looks like my initial proposal and idea was a bit unclear.
Anyway, attached is v2 which only takes care of the "one-item-group"
<select>.
I count Olly's +1 so far (does it still apply?).
Masi: Looks like you have a couple of ideas for this. I like to move
this JS code into an external file (there is a "@TODO: Export this to an
own file, it is more static than dynamic JavaScript -- olly" in the file
already), so I'm thinking about re-factoring it, using some Protoype
functions (btw, could anybody +1 this other RFC (JSlibs) please?), and
if you have any improvments (e.g. I like to use the DEL button as well
:) ) please send your ideas to me via email or so.
greetings,
benni.
-SDG-
www.xnos.de // www.xnos.org
Martin Kutschker wrote:
> Benjamin Mack schrieb:
>> So, I could go with this one:
>> * Keep behaviour for <select>s with a size bigger than one (TCA:
>> maxitems > 1).
>> * Change the behaviour only for <select>s where the TCA is maxitems=1,
>> like on the screenshots where you don't need to select the (only) option
>> first.
>
> Sounds ok to me - and it buggered me too that I have to select one of one
> items to get rid of exactly one item ;-)
>
> BTW, what's also odd is that when you add an item with the wizard you won't
> see the item when there is already one present. The reason is that the new
> item is appended and so is outside the visible area of select box (which
> now has two items). What should happen in that case (max=1, current=1) that
> the wizard deletes the current entry and adds then the item.
>
> Masi
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20071008_tceforms_group_v2.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071008/19f829f1/attachment.bin
More information about the TYPO3-team-core
mailing list