1
0
-1

Hello im still new and i want to develop a plugin for Radio to make an update to database every time the option selected.

Can anyone tell me which plugin type i should extends or implements?

and if i want to create a option value and label on the code how i do that.

Thanks

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Apparently if you extends Radio, no need to implement FormBuilderPalleteElement anymore. You can extend Radio class, but you need to override some methods: getName, getLabel, getClassName, and most importantly renderTemplate. And you need to copy implementation of radio.ftl and adjust accordingly. 

      How are you going to update the data? I suppose by using ajax. 

        CommentAdd your comment...