Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Add docs for symbol option of PercentType#10464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -9,12 +9,13 @@ percentage data. If your percentage data is stored as a decimal (e.g. ``.95``), | ||
| you can use this field out-of-the-box. If you store your data as a number | ||
| (e.g. ``95``), you should set the ``type`` option to ``integer``. | ||
| When ``symbol`` is true, thefieldwill add a percentage sign "``%``" after the input box. | ||
| +-------------+-----------------------------------------------------------------------+ | ||
| | Rendered as | ``input`` ``text`` field | | ||
| +-------------+-----------------------------------------------------------------------+ | ||
| | Options | - `scale`_ | | ||
| | | - `symbol`_ | | ||
| | | - `type`_ | | ||
| +-------------+-----------------------------------------------------------------------+ | ||
| | Overridden | - `compound`_ | | ||
| @@ -50,6 +51,15 @@ scale | ||
| By default, the input numbers are rounded. To allow for more decimal places, | ||
| use this option. | ||
| symbol | ||
| ~~~~~~ | ||
| **type**: ``boolean`` **default**: ``true`` | ||
| By default, fields are rendered with a percentage sign "`%`" after the input | ||
| box. Setting this value to ``false`` will disable the percentage sign from | ||
Contributor
| ||
| being displayed. | ||
| type | ||
| ~~~~ | ||