Google Maps Direction. address field red?

For my app i want to add a map with directions and a searching method. i used the API video to help use google places in my map and it worked fine so i seen google maps for directions and i did the same thing with google maps as i did with google places and everything is nice and blue except address field is blank with a red outline and wont let me fix anything.1) how do i fix this and 2) is there any way to plug both of these into one map that way you can either search a location or get directions also when one selects for directions with it display on the map or do i need to make a text box thatll fill it out? any help would be great.

Share a link to the editor so we can help