I just did below thing on the submit button and in isError
function I check if it’s empty.
[disabled]="isError()"
More Related Contents:
- Angular File Upload
- Angular 2 / 4 / 5 not working in IE11
- How to reload the current route with the angular 2 router
- The Angular Compiler requires TypeScript >=3.4.0 and
- Should I write methods as arrow functions in Angular’s class
- Dynamically load external javascript file from Angular component
- How to manage Angular2 “expression has changed after it was checked” exception when a component property depends on current datetime
- caching results with angular2 http service [duplicate]
- Property ‘files’ does not exist on type ‘EventTarget’ error in typescript
- How to access a constant in an Angular 2 component and service?
- Is there a type for “Class” in Typescript? And does “any” include it?
- angular 2 – adding 3rd party libs
- Ionic – Horizontal scroll tab for Categories [duplicate]
- How to extend / inherit components?
- Generic email validator
- Detect changes in objects inside array in Angular2
- Lazy Loading BrowserModule has already been loaded
- Angular 2 input parameters on root directive [duplicate]
- Unit testing click event in Angular
- want to show more data in another component when view in detail button is clicked (angular 6)
- Tracking scroll position and notifying other components about it
- Avoiding relative paths in Angular CLI
- ERROR in TypeError: Cannot read property ‘flags’ of undefined
- Angular 4: How to read data from Excel?
- Sanitize input in Angular2 [duplicate]
- Class is using Angular features but is not decorated. Please add an explicit Angular decorator
- How to validate white spaces/empty spaces? [Angular 2]
- Call a function every 10 seconds Angular2
- How to change angular material datepicker format
- Angular2 Error: There is no directive with “exportAs” set to “ngForm”