Reply To: Filled TextInput

PennController for IBEX Forums Support Filled TextInput Reply To: Filled TextInput

#6080
Jeremy
Keymaster

Hi Daniela,

You can take two approaches: either use a negative test testNot.text("") or a positive test using a regex test.text(/[^\s]+/). The latter is more powerful, as it will only validate non-empty text, whereas the former would succeed even if the text only consists of spaces, for example

Jeremy