打开和关闭时,离子模态挂起

时间:2016-12-28 05:49:13

标签: cordova ionic-framework

我正在创建一个Cordova离子应用程序。我在其中创建了一个模态。它在打开和关闭时悬挂。所有模态在整个应用程序中表现相同。以下是其中之一:

NewModal.html

        <ion-modal-view> <ion-content class="padding"
            has-bouncing="false">
        <form name="labelForm">
            <label style="display: inline;"> Width: </label> <input
                class="form-control" type="number" ng-model="value.width" min=10
                max=1200 name="width" required="required" id="width1" /> <label
                style="display: inline;">Height: </label> <input class="form-control"
                type="number" ng-model="value.height" min=10 id="height1" max=600
                name="height" required />

            <button title="Create" class="button button-full btn-orange"
                type="submit" on-tap="submitted=true;createLabel(labelForm.$valid);">Create</button>
        </ion-content> </ion-modal-view>

0 个答案:

没有答案
相关问题