× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

default values not working

6 年 1 个月 前 #1857 Tomasci
default values not working was created by Tomasci
Hello,

As a premium member, I have allready send support request last week.
Had no answer yet. Hoping to find solution this way.. :(

I my component, I have several fields that need default values.
For text and number fields, the default field in component creator works just fine.
But in checkbox field and select lists, the default value has no effect.

In checkbox fields I have set the "default field" = "value field".
I want it checked by default, but it does not work.

In select list fields I have tried "default field" = "key value", and also "default field" = "value".
In both cases the default selected value is just the first value in the list.


Anyone knows how to use these default values?

Thanks!

Please 登录注册一个帐号 to join the conversation.

6 年 1 个月 前 #1859 Ian Shere
Replied by Ian Shere on topic default values not working
When you make your checkbox or listbox field, assign your values (Stored value, Text displayed) then, in the Feault field add the STORED VALUE of the result you want as default.
附件:

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.048秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.