File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ export default {
454454 }
455455 },
456456 async computeVisibilityCondition (cond , index ) {
457- console .log (' computeVisibilityCondition' , cond, index);
457+ // console.log('computeVisibilityCondition', cond, index);
458458 if (_ .isObject (cond)) {
459459 const request = {
460460 method: cond .method ,
Original file line number Diff line number Diff line change 196196 :constraints =" valueConstraints"
197197 :selected_language =" selected_language"
198198 :result =" true"
199+ :input =" title"
199200 :init =" init" v-on:valueChanged =" sendData" />
200201 </div >
201202
215216 :init =" init" v-on:valueChanged =" sendData" />
216217 </div >
217218
219+ <!--
218220 <div v-else-if="inputType === 'static'">
219221 <Static
220222 :constraints="valueConstraints"
221223 :selected_language="selected_language"
222224 :init="init" v-on:valueChanged="sendData"/>
223225 </div>
226+ -->
224227
225228 <!-- if we don't have a component built for this type, then show an error -->
226229 <div v-else >
@@ -261,7 +264,7 @@ import SelectInput from '../Inputs/SelectInput';
261264import StaticReadOnly from ' ../Inputs/StaticReadOnly' ;
262265import SaveData from ' ../Inputs/SaveData/SaveData' ;
263266import StudySign from ' ../StudySign/StudySign' ;
264- import Static from ' ../Inputs/Static' ;
267+ // import Static from '../Inputs/Static';
265268import EmailInput from ' ../Inputs/EmailInput' ;
266269import ParticipantId from ' ../Inputs/ParticipantId/ParticipantId' ;
267270
@@ -325,7 +328,7 @@ export default {
325328 TimeRange,
326329 SelectInput,
327330 StaticReadOnly,
328- Static,
331+ // Static,
329332 },
330333 data () {
331334 return {
Original file line number Diff line number Diff line change 11<template >
22 <div class =" staticReadOnly" >
3- <div v-if =" input" >
4- <h4 > {{ input }}</h4 >
5- <br >
6- <b-btn @click =" onSubmit" > Done </b-btn >
3+ <div v-if =" true" >
4+ <b-btn @click =" onSubmit" > Done reading </b-btn >
75 </div >
86 <div v-else >
97 <b-alert show >
@@ -24,9 +22,7 @@ export default {
2422 methods: {
2523 onSubmit (e ) {
2624 e .preventDefault ();
27- if (this .input ) {
28- this .$emit (' valueChanged' , this .input );
29- }
25+ this .$emit (' valueChanged' , this .input );
3026 },
3127 },
3228 data () {
You can’t perform that action at this time.
0 commit comments