I have a dropdown list like this
<form:select path="component" multiple="true" id="componentId">
<form:option value="" label="--- Select Components---" />
<form:options items="${componentList}" />
</form:select>
Here the componentLits prints the vaues stored in the db in the below format
Boot Up(bootup),
Channel Tuning(channelTuning)
TOCOD(tocvod)
I have to display values in dropdown list UI as Boot Up , Channel Tuning, TOCOD.dont need to display the values inside brackets.
And while selecting the above values (for example if i choose Boot UP from dropdown its value will be bootup not the displaying one(Boot UP))
how it is possible with spring mvc form