Commit 2ed1ba6e authored by Kevin Robert's avatar Kevin Robert
Browse files

Correction de la création d'un écran.

parent 0110b2ee
......@@ -42,6 +42,7 @@ export default class ScreenCreate extends Vue {
}
public save() {
this.screen.index = this.stepNum;
if (screenValidate.validate(this.screen)) {
this.screenService()
.create(this.screen)
......
......@@ -3,6 +3,7 @@
<section class="max-w-4xl mx-auto p-9">
<h1 class="mb-6 text-3xl">{{ $t('screen.label.step', { num: stepNum }) }}</h1>
<oa-input id="0" :label="$t('screen.label.title')" required="true" @update="screen.name = $event" />
<oa-input id="0" :label="$t('screen.label.titleBo')" required="true" @update="screen.nameBo = $event" />
<oa-input
id="1"
:label="$t('screen.label.reference.label')"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment