Cant use textInput without a wrapping tag.

added an option to set tag to NULL so that elements are not always wrapped in a tag, makes it easier to apply bootstrap styles.