added validator to the string widget