弹出窗口关闭并再次打开时显示验证错误消息

时间:2018-07-12 13:33:09

标签: angular5 bootstrap-modal

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:AdMobTestProject"
             x:Class="AdMobTestProject.MainPage">

    <StackLayout>
        <!-- Place new controls here -->
        <Label Text="Welcome to Xamarin.Forms!" 
           HorizontalOptions="Center"
           VerticalOptions="CenterAndExpand" />
        <local:AdMobView WidthRequest="320" HeightRequest="50"></local:AdMobView>
    </StackLayout>

</ContentPage>

这是我的弹出窗口。当我第一次打开该模式时,没有问题,但是当我提交然后验证错误消息时,显示哪个字段未填写,以及当我关闭模式并再次打开验证错误消息显示时。如何解决这个问题?

0 个答案:

没有答案