Skip to main content

EditableList

Displays a submenu entry linking to an editable list of strings.

KeyTypeDescriptionRequiredDefaultMin Version
footerTextstringSmall text shown below the listLocalizable""
itemFooterTextstringSmall text shown on the add-new-item pageLocalizable""
maxCountintegerMaximum number of itemsINT_MAX
validationRegexstringRegex used to validate string itemsnil1.2-10

When modifying or adding a string item, if it fails to match validationRegex, it cannot be saved.

Return TypeDescription
array of stringThe list contents

Theme

Theme KeyTypeDescription
textColorColorText color
caretColorColorCaret color
placeholderColorColorPlaceholder color

Example

{
maxCount = 10;
cell = "EditableList";
label = "Editable List";
key = "list-4";
default = {
"Default";
};
validationRegex = "^[0-9a-zA-Z]+$";
};

XUI-EditableList-1.png

XUI-EditableList-2.png