Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
moldcraft committed Feb 3, 2016
1 parent be20387 commit 5c18065
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions options/built-in-option-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ Switch between two choices.

``fw:option-type:switch:change`` - Value was changed.

.. note::

Switch value in html is json encoded to prevent issues with boolean values,
so before using the html value in javascript do ``value = JSON.parse(value);``


Color Picker
Expand Down

0 comments on commit 5c18065

Please sign in to comment.