Fix backspace in transcript search
This commit is contained in:
parent
64b162e7e6
commit
0ba71b9361
@ -87,7 +87,7 @@
|
||||
|
||||
{#if withCreateButton}
|
||||
<div class="row" style="justify-content: center; margin-top: 10px">
|
||||
<Button type="submit" icon="fas fa-plus">Add Input</Button>
|
||||
<Button type="submit" icon="fas fa-plus" {disabled}>Add Input</Button>
|
||||
</div>
|
||||
{/if}
|
||||
</form>
|
||||
@ -108,6 +108,7 @@
|
||||
export let withSaveButton = false;
|
||||
export let withDeleteButton = false;
|
||||
export let withDirectionButtons = false;
|
||||
export let disabled = false;
|
||||
|
||||
export let index;
|
||||
export let formLength;
|
||||
|
@ -53,7 +53,7 @@
|
||||
{/if}
|
||||
|
||||
{#if activeFormId !== null}
|
||||
<FormInputRow bind:data={inputCreationData} withCreateButton={true}
|
||||
<FormInputRow bind:data={inputCreationData} withCreateButton={true} disabled={formLength >= 5}
|
||||
on:create={(e) => createInput(e.detail)}/>
|
||||
{/if}
|
||||
</div>
|
||||
|
@ -128,18 +128,26 @@
|
||||
filterSettings.userId = undefined;
|
||||
|
||||
if (filterSettings.ticketId === "") {
|
||||
filterSettings.ticketId = undefined;
|
||||
filterSettings.ticketId = undefined;
|
||||
}
|
||||
};
|
||||
|
||||
let handleInputUsername = () => {
|
||||
filterSettings.ticketId = undefined;
|
||||
filterSettings.userId = undefined;
|
||||
|
||||
if (filterSettings.username === "") {
|
||||
filterSettings.username = undefined;
|
||||
}
|
||||
};
|
||||
|
||||
let handleInputUserId = () => {
|
||||
filterSettings.ticketId = undefined;
|
||||
filterSettings.username = undefined;
|
||||
|
||||
if (filterSettings.userId === "") {
|
||||
filterSettings.userId = undefined;
|
||||
}
|
||||
};
|
||||
|
||||
let loading = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user