1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-15 12:54:06 +00:00

Small frontend fixes

This commit is contained in:
2023-06-25 08:16:31 +02:00
parent f0ab5288f7
commit 8bebdfccd8
4 changed files with 42 additions and 20 deletions

View File

@ -70,7 +70,7 @@
<div class="forminput {type}">
<div class="field">
{#if type === 'string'}
<input type="text" bind:value use:input={{ type, onValid, onInvalid, mandatory, autofocus }} />
<input type="text" bind:value use:input={{ type, onValid, onInvalid, mandatory, autofocus }} autocomplete="off" spellcheck="false" />
{:else if type === 'objectid'}
<input
type="text"

View File

@ -30,7 +30,9 @@
function refresh(hideObjectIndicators, items) {
_items = objectToArray(items).map(item => {
item.children = objectToArray(item.children);
if (item.children) {
item.children = objectToArray(item.children);
}
return item;
});