Custom field drop down not working sales inoice-line

hi I am trying to use custom field in sales invoice-line selecting drop down option but it shows only text field and drop down not working