Skip to content

1.0.2

Choose a tag to compare

@nadnoslen nadnoslen released this 19 Mar 21:59
· 81 commits to main since this release

Upgrade to package.json to include the latest version of ember-cli-text-support-mixins. The Enter & Ctrl+Enter submitting form has been known to double-submit if the form has a button of type="submit" contained within. Chrome & Safari will not suffer this double submit, however Firefox does continue to suffer double-submits.

Workaround

Do not include a button of type="submit" inside your form if you desire that the {{input-date}} and {{input-iso8601}} components to submit the form on Ctrl+Enter.

<form ...>
  {{input-date ...}}
  <button type="submit">Submit</button>
</form>

...should instead be changed to:

<form ...>
  {{input-date ...}}
  <button type="action" {{action "submitTheFormUsingAnAction"}}>Submit</button>
</form>