renamed clear to clearValue in input