Make input fiels not useable when the top level item is selected and clear
the field