TagsConverter
creates an empty tag when the input is blank
#469
Labels
TagsConverter
creates an empty tag when the input is blank
#469
TagsConverter
simply callsString#split(String)
which creates an array which only contains the empty string when the input is empty.That data is then simply passed along further with no validation anywhere.
Because of this that empty string gets saved in the database.
As a work around
EditBudgetForm
removes the first element of the tags list, if it's not empty.This means the following steps are necessary to remedy the error:
TagsConverter
to properly handle empty inputEditBudgetForm
The text was updated successfully, but these errors were encountered: