v3 fix the hidden bug of InputText