added defaultText option for forms

the default text in a select input field can now be configured
This commit is contained in:
Jared Tabor
2014-10-16 00:30:24 -04:00
parent df789f0c96
commit 2e4fd96aef
2 changed files with 5 additions and 7 deletions

View File

@@ -52,6 +52,7 @@ angular.module('SurveyQuestionFormDefinition', [])
realName: 'answer_type',
label: 'Answer Type',
type: 'select',
defaultText: 'Choose an answer type',
ngOptions: 'answer_types.name for answer_types in answer_types track by answer_types.type',
addRequired: true,
editRequired: true,