added data-unit option to display input