multiline json editing

This commit is contained in:
Jan Prochazka
2022-09-25 09:29:38 +02:00
parent 7fc8b2901b
commit 3fe7d652b2
4 changed files with 71 additions and 16 deletions

View File

@@ -6,6 +6,7 @@
export let type = 'button';
export let disabled = false;
export let value;
export let title = null;
function handleClick() {
if (!disabled) dispatch('click');
@@ -18,7 +19,7 @@
}
</script>
<input {type} {value} class:disabled {...$$restProps} on:click={handleClick} bind:this={domButton} />
<input {type} {value} {title} class:disabled {...$$restProps} on:click={handleClick} bind:this={domButton} />
<style>
input {