Fix adding CCs
Somehow the gr-autocomplete for CCs was not aware that it should allow non suggested values. Pass the necessary property (allowAnyInput) from gr-account-list to gr-account-entry and then to the autocomplete. Bug: Issue 7802 Change-Id: Idd9533ef409fde97ebcfb15a349108d1f314fc38
This commit is contained in:
parent
4ee4fc62ce
commit
ddbfb0f10a
@ -35,6 +35,7 @@ limitations under the License.
|
||||
placeholder="[[placeholder]]"
|
||||
threshold="[[suggestFrom]]"
|
||||
query="[[query]]"
|
||||
allow-non-suggested-values="[[allowAnyInput]]"
|
||||
on-commit="_handleInputCommit"
|
||||
clear-on-commit
|
||||
warn-uncommitted>
|
||||
|
@ -23,9 +23,9 @@
|
||||
* @event add
|
||||
*/
|
||||
properties: {
|
||||
allowAnyInput: Boolean,
|
||||
borderless: Boolean,
|
||||
change: Object,
|
||||
_config: Object,
|
||||
filter: Function,
|
||||
placeholder: String,
|
||||
/**
|
||||
@ -51,6 +51,8 @@
|
||||
return this._getReviewerSuggestions.bind(this);
|
||||
},
|
||||
},
|
||||
|
||||
_config: Object,
|
||||
},
|
||||
|
||||
behaviors: [
|
||||
|
@ -69,6 +69,7 @@ limitations under the License.
|
||||
placeholder="[[placeholder]]"
|
||||
on-add="_handleAdd"
|
||||
on-input-keydown="_handleInputKeydown"
|
||||
allow-any-input="[[allowAnyInput]]"
|
||||
allow-any-user="[[allowAnyUser]]">
|
||||
</gr-account-entry>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user