ngx-inline-editor icon indicating copy to clipboard operation
ngx-inline-editor copied to clipboard

Select input value is always prefixed with "<index>: "

Open Oggie23 opened this issue 5 years ago • 0 comments

When using the { value : , text : } array for [options] in the select input, the value you put is changed.

Example:

Using

[
{ "value" : "val1", "text" : "val1" }, 
{ "value" : "val2", "text" : "val2" },
{ "value" : "val3", "text" : "val3" }
]

will yield the select control as if using

[
{ "value" : "0: val1", "text" : "val1" },
{ "value" : "1: val2", "text" : "val2" },
{ "value" : "2: val3", "text" : "val3" }
]

Oggie23 avatar Mar 24 '19 18:03 Oggie23