Allows to other elements than inputs be daterange picker.