Click the drop down menu and select "Unit" I think it is. Don't type numbers in for the amount for the sale. Hover your mouse above or below how much gil you want to sell it for. Something like a ^ will show up to change the value. Then the button will be enabled.