Hi,
I've a ng-repeat, It have a list of text box and corresponding each text
box have a button to save.When we click on save button, it will save the
data to server. For this time I need to show a message "Updating...." In
adjacent to the text box. After the server call it need to hide. My code
is below
<div class="row" ng-repeat="apicharge in APICharges">
>
> <div class="col-md-3"><label
>> class="lbltext">{{apicharge.APIAction}} {{Updating}}</label></div>
>
> <div class="col-md-5">
>
> <div class="input-group">
>
> <input type="text"
>> class="form-control" ng-readonly="enable" ng-init="enable = true; Updating
>> = false" ng-model="apicharge.APIChargeAmount" required autofocus>
>
> <span
>> class="input-group-btn">
>
> <button type="button"
>> class="btn btn-default btn-sm" ng-click="enable = false" ng-hide="!enable"
>> ng-><i class="fa fa-pencil btnedit_blue"></i></button>
>
> <button type="button"
>> class="btn btn-default btn-sm" ng-click="enable = true" ng-hide="enable"><i
>> class="fa fa-close btncros_red"></i></button>
>
> <button type="button"
>> class="btn btn-default btn-sm" ng-click="SaveAPICharge(apicharge);enable =
>> true; Updating = true" ng-hide="enable"><i class="fa fa-check
>> btntik_green"></i></button>
>
> </span>
>
> <span
>> ng-show="(Updating)"> Updating.... </span>
>
> </div>
>
> </div>
>
> </div>
>
>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.