a text input with unit