Skip to content

Radio Form Control

Example

let dbMasterConfig: T.IDBMasterConfig = {
    form: {
        fields: [
            [{
                control: T.EDBMasterFormControl.radio,
                path: 'favourite_subject',

                radioSettings: {
                    displayInCenter: true,
                    displayType: 'inline',
                    options: [{
                        label: 'Hindi',
                        value: 'HINDI'
                    }, {
                        label: 'English',
                        value: 'ENGLISH'
                    }, {
                        label: 'Gujarati',
                        value: 'GUJARATI'
                    }]
                }
            }],
        ]
    }
};

Interface Documentation

radioSettings_generated