I have ceated a custom dropdown like below: enter image description here
Now on click on listed options, main value should change and a label should float top of it.<