File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export class OmniScriptDefinitionBuilder implements Iterable<OmniScriptElementDe
27
27
private scriptOffsets = new Map < string , number > ( ) ;
28
28
private addElementHandlers : Partial < Record < OmniScriptElementType , OmniScriptDefinitionBuilder [ 'addElement' ] > > = {
29
29
'Input Block' : this . addInputBlock . bind ( this ) ,
30
+ 'Selectable Items' : this . addInputBlock . bind ( this ) ,
30
31
'Type Ahead Block' : this . addTypeAheadBlock . bind ( this )
31
32
} ;
32
33
@@ -431,7 +432,10 @@ class OmniScriptElementGroupDefinitionBuilder {
431
432
child . response = null ;
432
433
child . children = [ ] ;
433
434
434
- if ( this . group . type === 'Type Ahead Block' && this . group . children . length ) {
435
+ if ( this . group . type === 'Type Ahead Block' &&
436
+ this . group . children . length &&
437
+ ! this . group . children [ 0 ] . eleArray [ 0 ] . propSetMap ?. taAction
438
+ ) {
435
439
this . group . children [ 0 ] . eleArray [ 0 ] . propSetMap ! . taAction = child ;
436
440
} else {
437
441
this . group . children . push ( {
You can’t perform that action at this time.
0 commit comments