When I click an action button to insert an element into a div, I want the order of the elements to be updated using sortable_options(onSort = sortable_js_capture_input(input_id = "selected"), but this is not the case now. Please see the following reproducible example. You'll notice that the order is only available inside input$selected after moving an element, not inserting with insertUI.
When I click an action button to insert an element into a div, I want the order of the elements to be updated using
sortable_options(onSort = sortable_js_capture_input(input_id = "selected")
, but this is not the case now. Please see the following reproducible example. You'll notice that the order is only available insideinput$selected
after moving an element, not inserting withinsertUI
.