Home Reference Source

src/components/selectboxes/fixtures/comp5.js

export default {
    type: 'form',
    components: [
        {
            label: 'Select Boxes',
            dataSrc: 'url',
            data: {
                url: 'https://cdn.rawgit.com/mshafrir/2646763/raw/states_titlecase.json'
            },
            valueProperty: 'abbreviation',
            template: '<span>{{ item.name }}</span>',
            key: 'selectBoxes',
            type: 'selectboxes',
            input: true,
            inputType: 'checkbox',
        },
        {
			label: 'Submit',
			showValidations: false,
			alwaysEnabled: false,
			tableView: false,
			key: 'submit',
			type: 'button',
			input: true
		}
    ],
    title: 'test selectBoxes Url',
	display: 'form',
	name: 'testSelectBoxesUrl',
	path: 'testSelectBoxesUrl',
};