How can I create input field with an option?