Submit form not allowed if tag empty

50 views Asked by At

I have form with ngTagsInput field that I submit on button click.

But if user press space a few times and text value looks like text: " " then I am not allowed to submit my form because formName.$valid is false. Is there any way to allow that to happen with ngTagsInput API? or any other way to accomplish that?

1

There are 1 answers

0
sir_K On

It is doable with allowLeftoverText set to true.