扩展日期时间选择器引发错误日期范围,因为日期时间设备不在范围内

问题描述

单击日期选择器框时出现错误错误如下:

enter image description here

XAML 和 CS 代码

enter image description here

enter image description here

设备日期时间值为:21-May-11

enter image description here

解决方法

尝试将 public function Category() { return $this->belongsTo('App\Models\Category','ProductCategoryID','CategoryID'); } 设置为 public function Products() { return $this->hasMany('App\Models\Product','ProductCategoryID'); } 以防止日期时间超出 ClipValueToMinMaxtrue 指定的范围。

Minimum