我正在为角度自动补全组件添加验证错误消息。我遵循我在How to add validation attributes to md-autocomplete angular material directive中找到的示例,但我不想使用浮动标签。我怎样才能做到这一点?这里是我的HTML: <md-autocomplete md-input-id="person"
md-input
我使用VS2017 angular2模板创建了一个项目。我正尝试在我的angular2应用中使用角度/材质。有错误 this._control.stateChanges.pipe is not a function at MatFormField.ngAfterContentInit (form-field.es5.js:327) 似乎缺少Observable的管道功能。这是我的配置问题还是rxj