<div class="inv-form-field ">
    <label for="error" class="inv-label ">
        Input File label
        <small>- obrigatório</small>
    </label>

    <div class="inv-input-file inv-input-file--error">
        <label for="input-file" class="inv-input-file__text inv-input-file__text--error">
            <span>Enviar arquivo</span>
            <i class="material-icons inv-input-file-icon ">file_upload</i>
        </label>
        <input id="input-file" type="file" />
        <button class="inv-clear-input" disabled>
            <i class="material-icons">clear</i>
        </button>
    </div>

    <div class="inv-form-text inv-form-text--error">
        Nenhum arquivo selecionado
    </div>
</div>
<div class="inv-form-field {{ formField.modifier }}">
  {{#if label.show}}
    {{> @label}}
  {{/if}}

  {{> @input-file}}

  {{> @form-text}}
</div>
{
  "label": {
    "value": "Input File label",
    "show": true,
    "posfix": "- obrigatório",
    "for": "error"
  },
  "input-file": {
    "placeholder": "Enviar arquivo",
    "modifier": "inv-input-file--error",
    "text": {
      "modifier": "inv-input-file__text--error"
    }
  },
  "clear-input": {
    "disabled": true
  },
  "form-text": {
    "value": "Nenhum arquivo selecionado",
    "modifier": "inv-form-text--error"
  }
}

There are no notes for this item.