SimpleInputWrapper

Class for wrapping simple input fields contained in the "dijit/form" package (TextInput, SimpleTextArea, Select etc.)
Helps with keyboard shortcuts (escape, enter), resetting values on escape, tab behaviour and form enabling when changes are made in this form field.

Example
Typically used in a dojo template:
<div class="bcInput" data-dojo-type="blueconic/api/widgets/form/inputwrapper/SimpleInputWrapper">
  <input data-dojo-type="dijit/form/TextBox" data-dojo-attach-point="_endpoint" data-dojo-props="placeholder: '${i18n.emptyendpoint}'" />
</div>

Properties

readOnly Boolean

Determines if the widget in this container is editable.

value String

The value for the containing widget. Can be empty.