Commit 10566ddb authored by Eric Eastwood's avatar Eric Eastwood

Update input placeholder to better reflect capabilities

parent d091f5d1
...@@ -42,6 +42,9 @@ export default { ...@@ -42,6 +42,9 @@ export default {
}, },
computed: { computed: {
inputPlaceholder() {
return 'Paste issue link or <#issue id>';
},
isSubmitButtonDisabled() { isSubmitButtonDisabled() {
return (this.inputValue.length === 0 && this.pendingReferences.length === 0) return (this.inputValue.length === 0 && this.pendingReferences.length === 0)
|| this.isSubmitting; || this.isSubmitting;
...@@ -126,7 +129,7 @@ export default { ...@@ -126,7 +129,7 @@ export default {
type="text" type="text"
class="js-add-issuable-form-input add-issuable-form-input" class="js-add-issuable-form-input add-issuable-form-input"
:value="inputValue" :value="inputValue"
placeholder="Search issues..." :placeholder="inputPlaceholder"
@input="onInput" @input="onInput"
@focus="onFocus" @focus="onFocus"
@blur="onBlur" /> @blur="onBlur" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment