{{#if label}}
  <label for="{{forAttribute}}" class="{{labelClass}}">{{{label}}}</label>
{{/if}}

{{#if isBasicInput}}
  {{fm-input
    type=type
    value=value
    classNameBindings='errorClass inputClass'
    placeholder=placeholder}}
{{/if}}

{{#if isSelect}}
  {{fm-select
    content=content
    optionValuePath=optionValuePath
    optionLabelPath=optionLabelPath
    prompt=prompt
    value=value
  }}
{{/if}}

{{#if isTextarea}}
  {{fm-textarea
    value=value
    classNameBindings='errorClass textareaClass'
    placeholder=placeholder
    rows=rows
    cols=cols
    maxlengh=maxlengh
    spellcheck=spellcheck
    disabled=disabled
  }}
{{/if}}

{{#if errors}}
  {{fm-errortext errors=errors}}
{{/if}}

{{#if helptext}}
  {{fm-helptext helptext=helptext}}
{{/if}}

{{#if label}}
  <label for="{{forAttribute}}" class="{{labelClass}}">{{{label}}}</label>
{{/if}}

{{#if isBasicInput}}
  {{fm-input
    type=type
    value=value
    classNameBindings='errorClass inputClass'
    maxlength=maxlength
    placeholder=placeholder}}
{{/if}}

{{#if isSelect}}
  {{fm-select
    content=content
    optionValuePath=optionValuePath
    optionLabelPath=optionLabelPath
    prompt=prompt
    value=value
  }}
{{/if}}

{{#if isTextarea}}
  {{fm-textarea
    value=value
    classNameBindings='errorClass textareaClass'
    placeholder=placeholder
    rows=rows
    cols=cols
    maxlength=maxlength
    spellcheck=spellcheck
    disabled=disabled
  }}
{{/if}}

{{#if errors}}
  {{fm-errortext errors=errors}}
{{/if}}

{{#if helptext}}
  {{fm-helptext helptext=helptext}}
{{/if}}

Fix typo and add maxlength to basic input field
Fix typo and add maxlength to basic input field