From fa8f74b784560942adacb4e5e25c0918eeccd1e8 Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Tue, 3 Jul 2012 14:27:24 +0200 Subject: [PATCH] added upgrade --- UPGRADE 2.1 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 UPGRADE 2.1 diff --git a/UPGRADE 2.1 b/UPGRADE 2.1 new file mode 100644 index 00000000..2c5bc404 --- /dev/null +++ b/UPGRADE 2.1 @@ -0,0 +1,21 @@ +UPGRADE 2.1 +========= + +### JQuery Chosen + + widget option cannot specify the choice type anymore, you have to append the widget in the type name instead : + + Before: + + ``` + $formBuilder + ->add('country', 'genemu_jquerychosen', array( + 'widget' => 'country', + )); + ``` + + After: + + ``` + $formBuilder->add('country', 'genemu_jquerychosen_country'); + ```