Skip to content

Button onclick not working in latest version, worked fine in 1.12.4 #2845

Description

@feardobeardo2

In previous versions (up to 1.12) I could add a clickable icons to each option.

<select class="selectpicker form-control socratesFontExtraDark" data-container="body" data-dropdown-align-right="false" data-live-search="true" data-none-selected-text="Select Asset from Library" data-size="5" data-width="200px !important" tabindex="-98"> <option value=""></option> <option value="newField" data-content="<div style='display:flex; justify-content:space-between;'><span>Test Input</span> <i class='far fa-trash-alt' onclick='buttonclick(event)'></i>"></option> </select>

In latest version you can no longer add as onclick gets stripped out.

I would be great if this version could be updated to allow for the same functionality as 12

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions