Vaadin-combo-box: Editable Combo box

Created on 29 May 2018  ·  4Comments  ·  Source: vaadin/vaadin-combo-box

Description

Provide a mechanism/documentation to add new items to the vaadin-combo-box.

Expected outcome

Vaadin combo box should provide mechanism to add items e.g.

https://demo.vaadin.com/sampler/#ui/data-input/multiple-value/combo-box

Actual outcome

Cannot add new items.

Browsers Affected

  • [x] Chrome
  • [x] Firefox
  • [x] Safari
  • [x] Edge
  • [x] IE 11
  • [x] iOS Safari
  • [x] Android Chrome

Most helpful comment

To me Custom Values sounds better than editable. Editable sounds like you could edit the combo-box items (add/update/remove them) where as custom value is used only for one custom value.

All 4 comments

/**
* If true, the user can input a value that is not present in the items list.
* value property will be set to the input value in this case.
* Also, when value is set programmatically, the input value will be set
* to reflect that value.
*/
allowCustomValue: {
type: Boolean,
value: false
},
Found the above snippet in vaadin-combo-box-mixin.html. :)

In code do:
<vaadin-combo-box allow-custom-value ...

Can this be mentioned in the docs as well here.

It is mentioned, actually. See the "Allow Custom Values" demo here. Is it clear enough for you, or maybe you suggest making a slightly more verbose description?

It would be better if its made more verbose. 'Custom Values' to me is a bit misleading. It would be good if 'editable' can also be use to describe it.

To me Custom Values sounds better than editable. Editable sounds like you could edit the combo-box items (add/update/remove them) where as custom value is used only for one custom value.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

heruan picture heruan  ·  14Comments

florent1933 picture florent1933  ·  14Comments

steffen-harbich-cognitum picture steffen-harbich-cognitum  ·  8Comments

davidmaxwaterman picture davidmaxwaterman  ·  6Comments

web-padawan picture web-padawan  ·  3Comments