 			default:
 				default: ""
 				check: String
+			placeholder:
+				check: String
+			min_length:
+				mandatory: true
+				default: 1
+				check: (v) =>
+					v >= 0
 
 	readOpts: ->
 		if not @opts.hasOwnProperty("cancel")

			,
				type: Input
				name: "input"
				data: @__data
				onConstruct: (@__input) =>
				onKeyup: (inp, ev) =>


	__checkOkBtn: =>
		buttons = @getButtons()
		if @__data.input.trim().length >= @_min_length
			buttons[1].enable()
		else
			buttons[1].disable()
