0

I must have two custom separated inputs for mat-date-range-picker. It should look in this way: (I know how to write this css)

enter image description here

I know how to write this css. But the problem is that I can't get value of this datepicker. It seems like I have to use mat-range-input with material inputs only. And I also have to use matStartDate matEndDate.

It means that there should be this snippet of code:

<mat-date-range-input>
  <input matStartDate placeholder="Start date">
  <input matEndDate placeholder="End date">
</mat-date-range-input>

but i gotta have 2 custom separated inputs :(

1 Answer 1

1

I hided the mat-date-range with opacity: 0 and got the values from it

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.