Added currency field type.

This commit is contained in:
Markus Birth 2016-05-24 02:44:03 +02:00
parent 2983bcb56b
commit 4ac4448336
3 changed files with 11 additions and 1 deletions

View File

@ -93,7 +93,7 @@
},
"priceCurrency": {
"title": "Currency",
"type": "text",
"type": "currency",
"required": false,
"group": 2,
"short": true

View File

@ -25,3 +25,6 @@
{{#fieldtype_status}}
{{>mdl_input_status}}
{{/fieldtype_status}}
{{#fieldtype_currency}}
{{>mdl_input_currency}}
{{/fieldtype_currency}}

View File

@ -0,0 +1,7 @@
<p>
<select name="{{field_id}}" size="1">
<option value="EUR">Euro - €</option>
<option value="USD">US Dollar - $</option>
<option value="GBP">British Pound - £</option>
</select>
</p>