Rafael Mendonça França
33418a9d03
Use the first non-empty object to detect the label and value method for
...
grouped select
Fixes #978
2014-04-02 15:48:12 -03:00
Rafael Mendonça França
e9fe635ab6
Merge pull request #771 from zephyr-dev/fix-label-detection-for-grouped-collection-inputs
...
Fix the way `detect_common_display_methods` finds label & value methods
2014-04-02 15:01:48 -03:00
Vasiliy Ermolovich
73005f4fc8
add test to ensure that html options in collection work with grouped select
2013-08-01 09:00:07 +03:00
Ben Moss & Micah Young
24dd492386
Fix the way `detect_common_display_methods` finds label & value methods
...
It was previously looking at an instance of the `collection` instead of the
`collection_classes`. Since the grouped collection input supplies a list
of collection classes that differ from the regular collection, it was
incorrectly looking for labelling and value methods on the option
instances, rather than the optgroup instances.
2013-03-18 10:08:04 -04:00
Renato Mascarenhas
34312c9fbc
Use 1.9 hash style on code and docs.
2013-01-28 19:02:59 -02:00
Sven Dahlstrand
2747d9f2a1
Allow procs for label and value methods in grouped collection selects.
2012-11-12 22:15:20 +01:00
Vasiliy Ermolovich
beb5158d1f
can use blank collection with grouped_collection input, closes #430
2012-02-03 22:17:40 +03:00
Carlos Antonio da Silva
3669bce6cf
Rename *CollectionInput to *CollectionSelectInput
2012-01-26 17:00:56 -02:00