Little issues with empty string

Just fixed some issues with empty string and trimmed values in the input class edit