Commits

Mark Lavin committed 2337dfa

Include doc notes on scope change. Fixes #79.

Comments (0)

Files changed (1)

docs/advanced.rst

             });
         </script>
 
+.. note::
+
+    In v0.7 the scope of ``prepareQuery`` was updated so that ``this`` refers to the
+    current ``djselectable`` plugin instance. Previously ``this`` refered to the
+    plugin ``options`` instance.
+
 
 .. _chain-select-example:
 
 :ref:`format_item <lookup-format-item>`. ``formatLabel`` should return the string
 which should be used for the label.
 
+.. note::
+
+    In v0.7 the scope of ``formatLabel`` was updated so that ``this`` refers to the
+    current ``djselectable`` plugin instance. Previously ``this`` refered to the
+    plugin ``options`` instance.
+
 Going back to the ``CityLookup`` we can adjust the label to wrap the city and state
 portions with their own classes for additional styling: