← Back to team overview

anewt-developers team mailing list archive

Re: [Branch ~sander-sinaasappel/anewt/anewt.new.cxs] Rev 1479: [form] Ids and extra attibutes for radio buttons and checkboxes

 

Wouter Bolsterlee wrote:
I'm very interested in the use of extra_attributes. Seriously, what else do
you want besides CSS classes for styling or scripting?

onclick, onkeyup, onselect, onchange, etc.

(Btw, in any case the name should be extra-attributes --- with a dash, not
an underscore.)

Since the __get, __set, __isset additions I've completely abandonned the use of dashes, since you cannot do $control->extra-attributes = $attr.

And internally they're changed to underscores anyway.

-- Sander

2009-07-20 klockan 22:47 skrev noreply@xxxxxxxxxxxxx:
revno: 1479
committer: Sander van Schouwenburg <sander@xxxxxxxxxxxxx>
branch nick: anewt.new.cxs
timestamp: Mon 2009-07-20 17:55:30 +0200
message:
  [form] Ids and extra attibutes for radio buttons and checkboxes
Fixes a typo and makes layout between radio buttons and checkboxes largely the
  same.
(from anewt.new.svn:88)
modified:
  form/controls/choice.lib.php

------------------------------------------------------------------------

_______________________________________________
Mailing list: https://launchpad.net/~anewt-developers
Post to     : anewt-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~anewt-developers
More help   : https://help.launchpad.net/ListHelp




Follow ups

References