Skip to content

Commit

Permalink
feat: Disable send kudos button when no receiver has been added - MEE…
Browse files Browse the repository at this point in the history
…D-2418 - Meeds-io/meeds#54  (#330)

This change will add the autofocus to the receiver field when sending kudos from composer.
  • Loading branch information
MayTekayaa committed Sep 8, 2023
1 parent b6572fe commit 91eda34
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
:labels="receiverSuggesterLabels"
:search-options="searchOptions"
:type-of-relations="typeOfRelation"
:autofocus="readOnlySpace"
include-users
name="kudosReceiver"
width="220"
Expand Down Expand Up @@ -137,8 +138,8 @@
:suggester-space-u-r-l="spaceURL"
:object-id="metadataObjectId"
:object-type="objectType"
class="flex"
autofocus />
:autofocus="!readOnlySpace"
class="flex" />
</div>
<div v-if="kudosMessageValidityLabel" class="d-flex flex-row pt-3">
<span class="text-sm-caption error--text">
Expand Down

0 comments on commit 91eda34

Please sign in to comment.