Multi Autocomplete data prefill fails when freeText is not allowed #980

Closed
Gprasad opened this Issue Feb 18, 2014 · 0 comments

Projects

None yet

2 participants

@Gprasad
Gprasad commented Feb 18, 2014
${data.foo = [{label:'Bar', code : 'BA'}]}

{@aria:MultiAutoComplete{
    label:"Choose your city: ",
    labelPos:"left",
    labelAlign:"right",
    width:400,
    block:false,
    labelWidth:180,
    resourcesHandler: getAirLinesHandler(),
    spellCheck: false,
    freeText:false,
    autoFill:true,
    bind:{
        "value" : {
            inside : data,
            to : 'foo'
            }
    }
}/}

throws widget error on init.

@Gprasad Gprasad self-assigned this Feb 18, 2014
@flongo flongo assigned flongo and Gprasad and unassigned Gprasad and flongo Feb 18, 2014
@flongo flongo added a commit to flongo/ariatemplates that referenced this issue Feb 20, 2014
@flongo flongo fix #980 Correct MultiAutoComplete initialization when bound data is …
…not empty

When freeText option was set to false, items already present in the data model to which the value of the widget is bound were not taken into account.
This commit reverts a fix done for another bug within commit 41d50bf: when freeText is equal to false, type some text for which there is no suggestion. Then blur. Then click inside the field and type something for which suggestions are returned. Pressing ENTER would cause all items to be duplicated.
19a681f
@flongo flongo added a commit to flongo/ariatemplates that referenced this issue Feb 20, 2014
@flongo flongo fix #980 Correct MultiAutoComplete initialization when bound data is …
…not empty

When freeText option was set to false, items already present in the data model to which the value of the widget is bound were not taken into account.
This commit reverts a fix done for another bug within commit 41d50bf: when freeText is equal to false, type some text for which there is no suggestion. Then blur. Then click inside the field and type something for which suggestions are returned. Pressing ENTER would cause all items to be duplicated.
29fb5d8
@flongo flongo added a commit to flongo/ariatemplates that referenced this issue Feb 20, 2014
@flongo flongo fix #980 Correct MultiAutoComplete initialization when bound data is …
…not empty

When freeText option was set to false, items already present in the data model to which the value of the widget is bound were not taken into account.
This commit reverts a fix done for another bug within commit 41d50bf: when freeText is equal to false, type some text for which there is no suggestion. Then blur. Then click inside the field and type something for which suggestions are returned. Pressing ENTER would cause all items to be duplicated.
8ab0c40
@flongo flongo added a commit that closed this issue Feb 20, 2014
@flongo flongo fix #980 Correct MultiAutoComplete initialization when bound data is …
…not empty

When freeText option was set to false, items already present in the data model to which the value of the widget is bound were not taken into account.
This commit reverts a fix done for another bug within commit 41d50bf: when freeText is equal to false, type some text for which there is no suggestion. Then blur. Then click inside the field and type something for which suggestions are returned. Pressing ENTER would cause all items to be duplicated.
1dfbc1e
@flongo flongo closed this in 1dfbc1e Feb 20, 2014
@flongo flongo added this to the 1.4.17 milestone Feb 20, 2014
@carlo-mr carlo-mr added a commit to carlo-mr/ariatemplates that referenced this issue Mar 3, 2014
@flongo flongo fix #980 Correct MultiAutoComplete initialization when bound data is …
…not empty

When freeText option was set to false, items already present in the data model to which the value of the widget is bound were not taken into account.
This commit reverts a fix done for another bug within commit 41d50bf: when freeText is equal to false, type some text for which there is no suggestion. Then blur. Then click inside the field and type something for which suggestions are returned. Pressing ENTER would cause all items to be duplicated.
5e924b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment