Skip to content

Commit

Permalink
example json placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
benhaynes committed Jul 14, 2016
1 parent e34be86 commit c07bb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/core-ui/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ define(['app', 'core/UIComponent', 'core/UIView', 'core/t'],function(app, UIComp
id: 'select',
dataTypes: ['VARCHAR', 'INT'],
variables: [
{id: 'options', ui: 'textarea', options:{'rows': 25}, comment: __t('select_options_comment')},
{id: 'options', ui: 'textarea', options:{'rows': 25, 'placeholder_text': "{\n \"value1\":\"Option One\",\n \"value2\":\"Option Two\",\n \"value3\":\"Option Three\"\n}"}, comment: __t('select_options_comment')},
{id: 'allow_null', ui: 'checkbox'},
{id: 'placeholder_text', ui: 'textinput', char_length: 255, required: false, comment: __t('select_placeholder_text')}
],
Expand Down

0 comments on commit c07bb5f

Please sign in to comment.