ctjp / autoform-intl-tel-input

Custom input type "intl-tel-input" for AutoForm
MIT License
3 stars 2 forks source link

doesnt work... #3

Open pociej opened 9 years ago

pociej commented 9 years ago

hmm i added package . Schema :

      email: {
        type: String,
        regEx: SimpleSchema.RegEx.Email,
        label: "E-mail address"
      },
      website: {
        type: String,
        label: "Website"
      },
      phone : {
        type : String,
        label: "Phone",
      }

html :

    <div class="col-md-4">
      {{#autoForm schema=detailsFormSchema }}
      <fieldset>
        <legend>Details</legend>
        {{> afQuickField name="website"}}
        {{> afQuickField name="email"}}
        {{> afQuickField name="phone" type="intl-tel-input"}}
        <div>
          <button type="submit" class="btn btn-primary">Submit</button>
          <button type="reset" class="btn btn-default">Reset</button>
        </div>
      </fieldset>
      {{/autoForm}}
    </div>

and its do nothing.... Any idea ?