Demo from https://github.com/sdvic/TextFieldDemo