Hello,
I have a project that have a large Single select list on the create screen. They want to make it searchable. I found a few suggestions about adding a javascript to the field description. That works fine. But the seach is a bit limited, it only searches from start of words. I found that auiSelect2 provides a better seach, see this post. However, adding that to the javascript gives me two select lists on the create screen.
The first behaves like a auiSelect2 and the second like the searchable select list.
I have created the script with input from different posts. What have I missed for it to give me the two different lists?
<script type="text/javascript">
new AJS.SingleSelect({
element: AJS.$("#customfield_10233").auiSelect2()
});
</script>
Is there perhaps a better way to do this? It seems like the possibility to add javascripts to the field description has been removed in later verison. I tried this on 8.11.0 and it does not work. The script is displayed as the field description on the create screen.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.