Skip to content

Options crashes app when I try to set value #270

@frankhdz

Description

@frankhdz

Is there a limit on how many option boxes you can have on screen? As soon as I add a 7th box to my I get the error:

Uncaught exception - std@module_read

If I do not set a value to the box like

var status = UIBuilder.getAs('status',Options);

It works ok but if I do:

status.value="Closed";

I get the error.

The XML looks like this:

 <Options
  w = "100"
 h = "30"
 id = "'status'"
 skinName = "'dropDown'"
 skin:Paint-border = "1"
 skin:Paint-borderColor = "0xcccccc"
 options = "[['Open', 'Open'], ['Closed', 'Closed'], ['Pending', 'Pending']]"
 optionDefaults = "'option'"
											        
											        
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions