File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/lib/components/common/jschema Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4747 < div id= ' {collapseSymbol}' class = ' accordion-collapse collapse' data- bs- parent= ' #{accordionParentKey}' >
4848 < div class = ' accordion-body p-1' >
4949 < div class = ' d-flex justify-content-center p-2' >
50- < button class = ' btn btn-primary' on: click= {addNestedProperty}> Add argument to list< / button>
50+ < button class = ' btn btn-primary' type = " button " on: click= {addNestedProperty}> Add argument to list< / button>
5151 < / div>
5252 < div>
5353 {#each nestedProperties as nestedProperty, index (nestedProperty .key )}
5454 < div class = ' d-flex' >
5555 < div class = ' align-self-center m-2' >
56- < button class = ' btn btn-warning' on: click= {removeNestedProperty (index)}> Remove< / button>
56+ < button class = ' btn btn-warning' type = " button " on: click= {removeNestedProperty (index)}> Remove< / button>
5757 < / div>
5858 < div class = ' flex-fill' >
5959 < PropertyDiscriminator schemaProperty= {nestedProperty} / >
Original file line number Diff line number Diff line change 5858 <input type ='text' bind:value ={customObjectPropertyKey } placeholder =' Key' class =' form-control' >
5959 </div >
6060 <div class =' col-6' >
61- <button class ='btn btn-primary' on:click ={addNestedObjectProperty }>Add property</button >
61+ <button class ='btn btn-primary' type = "button" on:click ={addNestedObjectProperty }>Add property</button >
6262 </div >
6363 </form >
6464 </div >
Original file line number Diff line number Diff line change 2626 {#if parsedProperties }
2727 {#each blockProperties as prop }
2828 {#if removePropertyBlock }
29- <button class ='btn btn-danger' on:click ={removePropertyBlock . bind ( this , prop .key )}>Remove Property Block
29+ <button class ='btn btn-danger' type = "button" on:click ={() => removePropertyBlock ( prop .key )}>Remove Property Block
3030 </button >
3131 {/if }
3232 <PropertyDiscriminator schemaProperty ={prop }></PropertyDiscriminator >
You can’t perform that action at this time.
0 commit comments