added option for custom class on input field "LI" element