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