We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Bug in storing Color picker field | Forum

yaser alimardany
yaser alimardany Jan 16 '16
I used color field picker in admin setting. After submit button Clicked, undefined value post with form for that field.
yaser alimardany
yaser alimardany Jan 17 '16
I found cause of the problem. Color field id's changed after rendering by color_picker.js. so in creating field by formElement in js code, input of these fields are null and dont post with correct value.
The Forum post is edited by yaser alimardany Jan 17 '16
ross Team
ross Jan 18 '16
Yaser we cannot reproduce the issue with the color picker. What software version do you have? What theme is enabled when you use color picker?
yaser alimardany
yaser alimardany Jan 18 '16
I have 1.8 version of oxwall and use default theme. The problem is:
Id's of ColorField changed after rendering with js method of colorpicker.js and in creating element for user, input is null.
yaser alimardany
yaser alimardany Jan 18 '16
It's not related to theme. I used ColorField in settings of my plugin like this:
$myColor = new ColorField('myColor');
The Forum post is edited by yaser alimardany Jan 18 '16
ross Team
ross Jan 18 '16
Topic was moved from Bug reports and troubleshooting.