File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/lib/components/v2/workflow Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 292292 < / span>
293293 < / div>
294294 {/ if }
295- < div class = " mb-3" >
295+ < div class = " mb-3 has-validation " >
296296 < label for = " firstTaskIndex" class = " form-label" >
297297 {#if mode === ' continue' }
298298 First task (Required)
307307 disabled= {checkingConfiguration}
308308 bind: value= {firstTaskIndex}
309309 on: change= {resetLastTask}
310+ class: is- invalid= {mode === ' continue' && firstTaskIndex === undefined }
310311 >
311312 < option value= {undefined }> Select first task< / option>
312313 {#each workflow .task_list as wft}
317318 {/ if }
318319 {/ each}
319320 < / select>
321+ < span class = " invalid-feedback" > The first task is required < / span>
320322 < / div>
321323 < div class = " mb-3" >
322324 < label for = " lastTaskIndex" class = " form-label" > Last task (Optional)< / label>
You can’t perform that action at this time.
0 commit comments