Rolls now work in actions

This commit is contained in:
Stefan Zermatten
2021-02-22 11:55:08 +02:00
parent 6571fb860a
commit d00eedac19
5 changed files with 64 additions and 3 deletions

View File

@@ -1,5 +1,21 @@
<template lang="html">
<div class="roll-form">
<div class="layout row wrap">
<text-field
label="Name"
:value="model.name"
:error-messages="errors.name"
@change="change('name', ...arguments)"
/>
<text-field
label="Variable name"
:value="model.variableName"
style="flex-basis: 300px;"
hint="Use this name in action formulae to refer to the result of this roll"
:error-messages="errors.variableName"
@change="change('variableName', ...arguments)"
/>
</div>
<text-field
ref="focusFirst"
label="Roll"