我试图使用md-error标记在mdAutocomplete上显示错误消息。我使用的角度与材料2组件。md-error消息为内置验证器(如required )显示。但是,我还想在md-error中显示另一条No Matching Records are found错误消息(基本上是当用户键入下拉列表中没有的内容时)。因此,我尝试使用另一个带有md-error的*ngIf,但是这个错误消息</
假设我有以下输入模型:{ public string?Name { get; set; }
public DateTime?." "$.birthday": [
"The JSON value could not be converted to System.NullablePath: $.birthday | L