 	# - up/down cursor number decrement/increment
 	# - input masking
 
-	__createElement: () ->
+	__createElement: (input_type="text") ->
 		if @_textarea ==  true
 			@__input = CUI.dom.$element "textarea", "cui-textarea",
 				placeholder: @getPlaceholder()

				check: Boolean
			appearance:
				check: ["code"]
			input_type:
				check: ["text", "password"]
				default: "text"

	readOpts: ->


				spellcheck: @__spellcheck
		else
			@__input = CUI.dom.$element "input", "cui-input",
				type: input_type
				size: 1
				placeholder: @getPlaceholder()
				tabindex: "0"
