psu-libraries / cho

Project for Penn State Library's cultural heritage object repository.
Apache License 2.0
18 stars 2 forks source link

Display selected values from datalist #1059

Closed awead closed 5 years ago

awead commented 5 years ago

Description

Adds some additional Javascript interaction that enhances the usability of our datalist selectors. Because we cannot get the label value to display, this adds a span next to the datalist element that shows the label of the selected id.

Example

Screen Shot 2019-07-02 at 2 17 10 PM

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 99.442% when pulling e77adcb4482330aa9539d2be4de73940a5eaa2f3 on datalist-display-field into 043298ae3f384314e1f8e261cc944dafbf73c9e8 on master.