How to disable an option once it's reached a limit?