demarches-normaliennes/app/javascript/new_design/administrateur/DraggableList.js

14 lines
265 B
JavaScript
Raw Normal View History

2018-11-14 16:26:00 +01:00
export default {
props: ['state', 'version', 'update', 'updateAll'],
methods: {
addChamp() {
this.state.typesDeChamp.push({
type_champ: 'text',
drop_down_list: {},
types_de_champ: [],
2018-11-14 16:26:00 +01:00
options: {}
});
}
}
};