Content deleted Content added
tweak labels and layout, add more options and comment |
style tweaks, show current comment value |
||
Line 47:
border: 1px solid black;
margin: 10px 0 10px 0;
}
/* Don't take up entire width for input, and make dropdown the same */
.wvui-dropdown,
.wvui-input {
width: 50%;
}
/* Override normal rules for indenting lists */
.wvui-dropdown ul {
margin-left: 0px;
}
/* Separate the dropdown and input */
.wvui-dropdown {
margin-bottom: 10px;
}
`);
Line 148 ⟶ 161:
template: `
<div class="script-EFFPRH-handler">
<p>Section {{ sectionNum }} for report by {{ reporterName }}. Selected response: {{ selectedResponse }}. Comment: {{ commentValue }}.</p>
<wvui-dropdown v-model="selectedResponse" :items="responseOptions" defaultLabel="Response to report" />
<wvui-input :value="commentValue" v-on:input="onCommentChange" placeholder="Comment" />
|