 				check: Boolean
 			textarea:
 				check: Boolean
+			# limit the amount of rows in textarea input
+			rows:
+				check: (v) ->
+					v >= 1
 			content_size:
 				default: false
 				check: Boolean

				check: Boolean

	readOpts: ->
		if not isEmpty(@opts.regexp)
			assert(not (@opts.checkInput), "new Input", "opts.regexp conflicts with opts.checkInput.")
			assert(not @opts.hasOwnProperty("prevent_invalid_input"), "new Input", "opts.prevent_invalid_input conflicts with opts.regexp.")

		if @opts.readonly
			assert(not (@opts.getCursorBlocks or @opts.getInputBlocks or @opts.checkInput), "new Input", "opts.readonly conflicts with opts.getCursorBlocks, opts.getInputBlocks, opts.checkInput.")

		state

	__checkInputInternal: (value = @__input0.value) ->
		if @__checkInput
			@__checkInput(value)
		else
			true

