Skip to content
Advertisement

Tag: angular

How to update mat-autocomplete options from another component?

I have two components called Employee and Form in my application. There are 2 mat-autocomplete: State and City lists in EmployeeComponent. I fill and pass these mat-autocomplete controls to the FormComponent using “formData” parameter: Employee Component: html ts Form Component: html At this point, when I select a state I want the cities list is cleared and the filled by

Angular DatePipe to print Datetime [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 years ago. Improve this question I get the next object from database: And i need to print the

How to customise popup from mapbox

I have angular 8 application and I can show a popup. But I want to style the popup. But how to do that? SO I have this template: and ts: and css: but nothing change. The popup stays white see image. So what I have to change? Thank you So in css: toggle-layer.component.scss I have this: Answer Should work:

Advertisement