mercredi 18 juillet 2018

Set fields inside repeater field dynamic base on user need, is there a way??

i want to create dynamic fields inside repeater field, so user can define fields and labels and also how many fields user want to have it..

this my repeater field

kebum:
        label: 'Data Kebaktian'
        oc.commentPosition: ''
        prompt: 'Tambah Kebaktian'                  
        span: full
        type: repeater
        tab: 'Minggu Ini'
        form:
            fields:
                jeniskeb:
                    label: 'Kebaktian'                    
                    span: storm
                    cssClass: col-sm-4
                    emptyOption: 'pilih salah satu'
                    type: taglist
                    mode: string
                    options: jenisKeb
                jamkeb:
                    label: 'Jam Kebaktian'
                    ...
                khotbah:
                    label: Pengkhotbah                    
                    ...
                konsistori:
                    label: 'Doa Konsistori'                    
                    ...
                penasatu:
                    label: 'Penatua 1'                    
                    ...
                penadua:
                    label: 'Penatua 2'                    
                    ... 

so i need to create each field label to be customized by user and also the number of fields can be adjust by user.. how can i do that, is it possible?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire