diff --git a/client/src/Components/Event/Create/Tabs/Technical.js b/client/src/Components/Event/Create/Tabs/Technical.js index 389c237e7..a463b151d 100644 --- a/client/src/Components/Event/Create/Tabs/Technical.js +++ b/client/src/Components/Event/Create/Tabs/Technical.js @@ -15,7 +15,7 @@ import styles from '../styles'; class Technical extends React.Component { render() { - const { classes } = this.props; + const { classes, event, edit } = this.props; return ( @@ -26,36 +26,36 @@ class Technical extends React.Component { Select the formula } displayEmpty - name='select' className={classes.selectEmpty} + onChange={newVal => edit('formulaId', newVal.target.value)} > moi toi nous - For new formula, select {'"'}create new{'"'} + console.log('Comming soon in a modaal')}> + To create a new formula, click here + Select the Plotter } displayEmpty - name='select' className={classes.selectEmpty} + onChange={newVal => edit('plotterId', newVal.target.value)} > moi toi nous - For new plotter, select {'"'}create new{'"'} + To create a new plotter, click here ); diff --git a/client/src/Components/Event/Create/styles.js b/client/src/Components/Event/Create/styles.js index 150cf362d..9d5460326 100644 --- a/client/src/Components/Event/Create/styles.js +++ b/client/src/Components/Event/Create/styles.js @@ -10,6 +10,9 @@ const styles = theme => ({ width: '25%', maxWidth: 'none', }, + clickable: { + cursor: 'pointer', + }, card: { flexGrow: 1, padding: 20,