bugs: uneditable combobox, text_field valuelist

Hi.

If I set the “editable” property of a combobox to “no” the combobox will still be editable. If i attach a table based valuelist to a text_field, the field is not filled with the values specified in “show in field/list”. Are these bugs?

I’m using 1.1 RC3 build 257.

jw

-editable makes it inpossible to type a new custom value
-elements..setEnabled(false) disables a component via javascripting (for a combobox this means not possible to select a value)

-valuelist on field only applies to displaytype CHECK,COMBOBOX,RADIOS as specified in the manual (Press F1)

Thanks.

I’m trying to use the javascript. I gave the field a name but it does not show up in the methods editor under elements. The field is in a portal.

jw

Hmm correct, we will change this to make it possible, in the mean time you could use a tabless tabpanel with a form in listview to get the same effect as a portal. (in a listview you can address the fields by javascript)

I tried to use scripting on a non-portal combobox and the result was that the box does turn gray, but I can still change the value. What is the problem?

jw

How do you change the value? If I disable a combobox I cannot change the value via that combobox.

I just click on the combobox and select another value. It works just like before I disabled it.

I tested a bit and found out that the problem appears only in list view. In record view the disabling works fine.

jw

There is indeed a problem in listview, in progress by devteam

This is fixed in RC5. please try it out.