How to set backround color for select2_from_array #787
Replies: 2 comments
-
Hello @ngthanhluan1505 If you want to change background-color using javascript you can do it like this:
Replace "select2_from_array" for the name of your field. ![]() Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @ngthanhluan1505 Hello @emogeekface Due to no activity I will close this issue, but if you need to continue you can reopen it or if it is a new issue, you can create a new issue. Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use "select2_from_array" in field. How can I change the backround-color of the select box by javascript?
Note: I want disable select. When post form or use select2_from_ajax, it delete request of select in my form. So, I changed its color to look like it's disabled and doesn't show the option when clicked.
Beta Was this translation helpful? Give feedback.
All reactions