mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-19 22:18:03 +00:00
Autofocus action
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<script>
|
||||
import { input } from '../../../actions';
|
||||
import { RemoveItems } from '../../../../wailsjs/go/app/App';
|
||||
import CodeExample from '../../../components/code-example.svelte';
|
||||
|
||||
@ -26,7 +27,14 @@
|
||||
</div>
|
||||
|
||||
<label class="field">
|
||||
<textarea cols="30" rows="10" bind:value={json} placeholder={'{}'} class="code"></textarea>
|
||||
<textarea
|
||||
cols="30"
|
||||
rows="10"
|
||||
placeholder={'{}'}
|
||||
class="code"
|
||||
bind:value={json}
|
||||
use:input={{ json: true, autofocus: true }}
|
||||
></textarea>
|
||||
</label>
|
||||
|
||||
<div class="flex">
|
||||
|
Reference in New Issue
Block a user