disable option select if no function