mitchell852 commented on a change in pull request #5329:
URL: https://github.com/apache/trafficcontrol/pull/5329#discussion_r530567578



##########
File path: 
traffic_portal/app/src/common/modules/dialog/input/dialog.input.tpl.html
##########
@@ -24,7 +24,7 @@ <h4 class="modal-title">{{::params.title}}</h4>
 <div class="modal-body">
     <p ng-bind-html="params.message"></p>
     <form name="inputForm" novalidate>
-        <input type="text" class="form-control" ng-model="inputValue" 
ng-maxlength="256">
+        <input type="{{params.type ? params.type : 'text'}}" 
class="form-control" ng-model="inputValue" ng-maxlength="256">

Review comment:
       right but this is a generic component so didn't want to overload it so 
just enforcing that it's a number and validating once entered.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to