Skip to content

Commit

Permalink
Mark submit buttons as such explicitly as we changed the default butt…
Browse files Browse the repository at this point in the history
…on type in ODS
  • Loading branch information
dschmidt committed Mar 7, 2022
1 parent a97c62d commit beb1710
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions changelog/unreleased/bugfix-enter-in-forms
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Bugfix: Pressing enter in forms

We fixed behavior when pressing enter in forms. For instance when adding or editing public links
pressing enter in the name or password input fields, instead of saving the link it opened the datepicker.


https://github.com/owncloud/owncloud-design-system/pull/2009
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
variation="primary"
appearance="filled"
@click="$_addLink"
submit="submit"
>
<translate>Create</translate>
</oc-button>
Expand All @@ -147,6 +148,7 @@
variation="primary"
appearance="filled"
@click="$_updateLink"
submit="submit"
>
<translate>Save</translate>
</oc-button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
appearance="filled"
@click="share"
v-text="$gettext('Share')"
submit="submit"
/>
</div>
<oc-hidden-announcer level="assertive" :announcement="announcement" />
Expand Down
1 change: 1 addition & 0 deletions packages/web-app-files/src/views/PublicLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
appearance="filled"
class="oc-login-authorize-button"
:disabled="!password"
submit="submit"
>
<translate>Continue</translate>
</oc-button>
Expand Down

0 comments on commit beb1710

Please sign in to comment.