FLUID-2959: The databound selection for a single select control, will output as an array initially and a string after the model is changed.

Metadata

Source
FLUID-2959
Type
Bug
Priority
Major
Status
Closed
Resolution
Cannot Reproduce
Assignee
Antranig Basman
Reporter
Justin Obara
Created
2009-06-18T10:59:33.000-0400
Updated
2009-11-06T15:20:26.000-0500
Versions
  1. 1.1
  2. 1.1.1
Fixed Versions
  1. 1.2
Component
  1. Renderer

Description

The databound selection for a single select control, will output as an array initially and a string after the model is changed.

For example:

if the model is

{
name: ["name1", "name2"],
values: ["name1", "name2"],
choice: ["name1"]
}

After databinding and rendering, if you output the model the value of choice will be ["name1"]; however, if you change the selection the output will be "name1".

This is even the case when you specify the model with a string for the choice instead of an array of the string.

Comments