B4J Library [ABMaterial] MashChips

Hi y'all

This is a materialcss dependent component, so in your BuildPage add..

B4X:
MashPlugIns.NeedsMaterialize(page)


I'm still trying to figure out why deleting of the chips is not working and also returning the content of the entered values. One day is one day though...

The chips can come loaded with initialization content, or added with autocomplete texts etc.

B4X:
chips1.Initialize(page,"chips1","redorange")
    chips1.AddInitialWith("Apple").AddInitialWith("Microsoft").AddInitialWith("Google")
    page.Cell(5,1).addcomponent(chips1.ABMcomp)
   
    chips2.Initialize(page,"chips2","redorange")
    chips2.AddAutoComplete("Xolani").AddAutoComplete("Apple").AddAutoComplete("Microsoft")
    chips2.AddAutoComplete("Google").AddAutoComplete("Anele").AddAutoComplete("Mbanga")
    page.Cell(6,1).addcomponent(chips2.ABMcomp)
   
    chips3.Initialize(page,"mychips3","redorange")
    chips3.PlaceHolder = "Enter a Tag"
    chips3.secondaryplaceholder = "+Tag"
    page.Cell(7,1).addcomponent(chips3.ABMcomp)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…