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

				check: Boolean
			appearance:
				check: ["code"]

	readOpts: ->


	# - up/down cursor number decrement/increment
	# - input masking

	__createElement: () ->
		if @_textarea ==  true
			@__input = CUI.dom.$element "textarea", "cui-textarea",
				placeholder: @getPlaceholder()
