mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
fixed issue with survey question float validation
the survey question 'float' option was missing the wrong directive in the element attributes
This commit is contained in:
parent
ef768afcbc
commit
4d47d79235
@ -150,7 +150,7 @@ angular.module('SurveyQuestionFormDefinition', [])
|
||||
control: '<div>'+
|
||||
'<label for="default_float"><span class="label-text">Default Answer</span></label>'+
|
||||
'<input type="number" ng-model="default_float" name="default_float" ng-min="float_min" ng-max="float_max" class="form-control" integer />'+
|
||||
'<div class="error" ng-show="survey_question_form.default_float.$error.number || survey_question_form.default_float.$error.integer">This is not valid float!</div>'+
|
||||
'<div class="error" ng-show="survey_question_form.default_float.$error.number || survey_question_form.default_float.$error.float">This is not valid float!</div>'+
|
||||
'<div class="error" ng-show="survey_question_form.default_float.$error.ngMin || survey_question_form.default_float.$error.ngMax"> The value must be in range {{float_min}} to {{float_max}}!</div>'+
|
||||
'</div>',
|
||||
column: 2,
|
||||
|
Loading…
Reference in New Issue
Block a user