Problem to solve
Users on my project can select any range.
For example 3 years, I will get array with 1095 days, and I need to transorm it for backed in format {from:Date, to: Date}. And wen I get range from server in format {from:Date, to: Date} I need to make array with 1095 elements (days) to pass to component.
Proposed solution
Allow to pass to component data in format {from:Date, to: Date} for range
Problem to solve
Users on my project can select any range.
For example 3 years, I will get array with 1095 days, and I need to transorm it for backed in format {from:Date, to: Date}. And wen I get range from server in format {from:Date, to: Date} I need to make array with 1095 elements (days) to pass to component.
Proposed solution
Allow to pass to component data in format {from:Date, to: Date} for range