[BUGFIX] Show remaining chars for InputElement only if defined