Change to slider for duration and pass value to backend as minutes