sapui5 - Use DatePicker to select only year -


i have date, string in jsonmodel (for example '2016'), shown datetimeinput https://openui5.hana.ondemand.com/explored.html#/entity/sap.m.datetimeinput/samples

<datetimeinput   value="{year}"   displayformat="yyyy"   valueformat="yy" /> 

enter image description here

datetimeinput deprecated , want replace datepicker https://openui5.hana.ondemand.com/explored.html#/entity/sap.m.datepicker/samples

<datepicker   value="{year}"   displayformat="yyyy"   valueformat="yy" /> 

but when click on input field show calendar, not list of year only

enter image description here


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

Sound is not coming out while implementing Text-to-speech in Android activity -