Set value to SliderType when given