B4J Library [ABMaterial]: Creating a Multi Select with Tagging functionality

Discussion in 'B4J Libraries & Classes' started by Mashiane, Aug 4, 2018.

  1. Mashiane

    Mashiane Expert Licensed User

    Ola

    I'm currently trying to build up a select component that will enable multi select that works with tags. Rather tricky bugger.. Im using the Select2 javascript.

    MashSelect2.gif

    I am able to detect which element was selected / unselected.

    Code:
    Sub mselect_select(value As Map)
        
    Dim files As String = value.Get("value")
        
    page.Msgbox("",files,"Error","OK",False,"","")
    End Sub

    Sub mselect_unselect(value As Map)
        
    Dim files As String = value.Get("value")
        
    page.Msgbox("",files,"Error","OK",False,"","")
    End Sub
    I cant seem to get the function to return the selection to work. The label does not work too.

    Has anyone tried something similar for select controls? Thanks
     

    Attached Files:

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice