Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Add Multi-Select setting interfaces on Apps #460

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/interfaces/settings_isetting.isetting.html
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> values</h3>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>The selectable values when the setting&#39;s type is &quot;select&quot;.</p>
<p>The selectable values when the setting&#39;s type is &quot;select&quot; or &quot;multiSelect&quot;.</p>
</div>
</div>
</section>
Expand Down Expand Up @@ -454,4 +454,4 @@ <h2>Legend</h2>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion src/definition/settings/ISetting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface ISetting {
public: boolean;
/** Whether this setting should be hidden from the user/administrator's eyes (can't be hidden and required). */
hidden?: boolean;
/** The selectable values when the setting's type is "select". */
/** The selectable values when the setting's type is "select" or "multiSelect". */
values?: Array<ISettingSelectValue>;
/** Whether the **string** type is several lines or just one line. */
multiline?: boolean;
Expand Down
1 change: 1 addition & 0 deletions src/definition/settings/SettingType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ export enum SettingType {
NUMBER = 'int',
SELECT = 'select',
STRING = 'string',
MULTI_SELECT = 'multiSelect',
}