Page 2 of 2

Re: color selection in display fields rules

Posted: 23 Nov 2022, 10:25
by enishemed
Thanks very much Sergey, you are awesome.

It is not critical or bug but color selection does not also have "Default Text" option like dropdown field. Maybe for version 3.3, you can add this option. In the picture you can see what I mean with default text option.

Re: color selection in display fields rules

Posted: 24 Nov 2022, 16:00
by support
Added. File form archive replace to includes\classes\fieldstypes\
Let me know if it works ok.

Re: color selection in display fields rules

Posted: 24 Nov 2022, 19:58
by enishemed
It works in field configuration but does not work in modal form.

Re: color selection in display fields rules

Posted: 24 Nov 2022, 20:18
by support
It displays as placeholder if field is not required.

Re: color selection in display fields rules

Posted: 24 Nov 2022, 21:29
by enishemed
Yes, but if the field is required it always select the first option, if there is no default select. I think it should behave like dropdown field. The placeholder should appear like "Please Select" (if there is no default option) and force to select an option. The dropdown field behaves like this.

Re: color selection in display fields rules

Posted: 25 Nov 2022, 07:30
by support
This is not simple dropdown field but I have made change so now if field is required and entered default text then we will display placeholder.
File from archive replace to includes\classes\fieldstypes\

Re: color selection in display fields rules

Posted: 25 Nov 2022, 10:49
by enishemed
this solves the placeholder problem thanks. But it occured a new problem. I could use the value of the color selection field in "Ajax Request" field before the last update. But after the last update, the value of the color selection field is always 0 (zero), no matter what I select.

thanks.

Re: color selection in display fields rules

Posted: 26 Nov 2022, 10:05
by support
File from archive replace to includes\classes\fieldstypes\
Now Color field type should be supported in Ajax request.
Let me know.

Re: color selection in display fields rules

Posted: 29 Nov 2022, 10:17
by enishemed
It works as expected. Thanks.