Merge pull request #23574 from nextcloud/fix/23569

Fix link share label placeholder not showing
This commit is contained in:
John Molakvoæ 2020-11-09 09:14:21 +01:00 committed by GitHub
commit 05d3326664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -140,13 +140,14 @@
}" }"
:class="{ error: errors.label }" :class="{ error: errors.label }"
:disabled="saving" :disabled="saving"
:placeholder="t('files_sharing', 'Share label')"
:aria-label="t('files_sharing', 'Share label')" :aria-label="t('files_sharing', 'Share label')"
:value="share.newLabel || share.label" :value="share.newLabel || share.label"
icon="icon-edit" icon="icon-edit"
maxlength="255" maxlength="255"
@update:value="onLabelChange" @update:value="onLabelChange"
@submit="onLabelSubmit" /> @submit="onLabelSubmit">
{{ t('files_sharing', 'Share label') }}
</ActionInput>
<!-- folder --> <!-- folder -->
<template v-if="isFolder && fileHasCreatePermission && config.isPublicUploadEnabled"> <template v-if="isFolder && fileHasCreatePermission && config.isPublicUploadEnabled">
<ActionRadio :checked="sharePermissions === publicUploadRValue" <ActionRadio :checked="sharePermissions === publicUploadRValue"