Skip to content
代码片段 群组 项目
未验证 提交 cd6d033a 编辑于 作者: Kushal Pandya's avatar Kushal Pandya 提交者: GitLab
浏览文件

Merge branch 'issue#516291' into 'master'

chore: Update Parent widget search placeholder to indicate other ways to find items

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/182613



Merged-by: default avatarKushal Pandya <kushal@gitlab.com>
Approved-by: default avatarNick Brandt <nbrandt@gitlab.com>
Approved-by: default avatarKushal Pandya <kushal@gitlab.com>
Co-authored-by: default avatarVedant Jain <vedantjainben10@gmail.com>
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
......@@ -103,6 +103,11 @@ export default {
required: false,
default: undefined,
},
searchPlaceholder: {
type: String,
required: false,
default: __('Search'),
},
},
data() {
return {
......@@ -229,6 +234,7 @@ export default {
:searching="loading"
:header-text="headerText"
:toggle-text="toggleText"
:search-placeholder="searchPlaceholder"
:no-results-text="$options.i18n.noMatchingResults"
:items="listItems"
:selected="localSelectedItem"
......
......@@ -34,6 +34,7 @@ export default {
workItemsFetchError: s__(
'WorkItem|Something went wrong while fetching items. Please try again.',
),
searchPlaceholder: s__('WorkItem|Search or paste URL'),
},
components: {
GlLink,
......@@ -314,6 +315,7 @@ export default {
:update-in-progress="updateInProgress"
:reset-button-label="$options.i18n.unAssign"
:toggle-dropdown-text="listboxText"
:search-placeholder="$options.i18n.searchPlaceholder"
data-testid="work-item-parent"
@dropdownShown="onListboxShown"
@dropdownHidden="onListboxHide"
......
......@@ -66670,6 +66670,9 @@ msgstr ""
msgid "WorkItem|Search existing items, paste URL, or enter reference ID"
msgstr ""
 
msgid "WorkItem|Search or paste URL"
msgstr ""
msgid "WorkItem|Select a group"
msgstr ""
 
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册