normalized field settings argument name and multiple required tooltip

This commit is contained in:
Gani Georgiev committed 2026-06-08 09:50:49 +03:00
1 parent bff6b4c3ab
commit 77639f94ce
23 files changed
+232 -233

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@
export function input(props) {
const uniqueId = "editor_" + app.utils.randomString();
const data = store({
const local = store({
lazyEditor: "",
});
@@ -18,7 +18,7 @@ export function input(props) {
className: "record-field-input field-type-editor large-modal",
onmount: () => {
lazyEditorTimeoutId = setTimeout(() => {
data.lazyEditor = app.components.tinymce({
local.lazyEditor = app.components.tinymce({
id: uniqueId,
name: () => props.field.name,
required: () => props.field.required,
@@ -41,7 +41,7 @@ export function input(props) {
t.i({ className: app.fieldTypes.editor.icon, ariaHidden: true }),
t.span({ className: "txt" }, () => props.field.name),
),
() => data.lazyEditor,
() => local.lazyEditor,
),
() => {
if (props.field.help) {