RocketChat / Rocket.Chat.Apps-engine

The Rocket.Chat Apps engine and definitions.

Home Page:https://rocketchat.github.io/Rocket.Chat.Apps-engine/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to allow for a multiline string via ISetting.

icyavocado opened this issue · comments

App didnt apply to have multiline string via ISetting
Expecting TextArea input, getting single line input

Branch

icyavocado/Rocket.Chat.OpenAI.Completions.App/tree/issue-multiline-string-not-working

Example code

{
        id: AppSetting.OpenAI_HELP,
        public: true,
        type: SettingType.STRING,
        multiline: true, // rendered single line input
        packageValue: null,
        value: "Type `/chatgpt` and hit enter to start",
        i18nPlaceholder: "Type `/chatgpt` and hit enter to start",
        hidden: false,
        i18nLabel: AppSetting.NAMESPACE + "_HELP",
        i18nDescription: AppSetting.NAMESPACE + "_HELP_description",
        required: false,
        section: AppSetting.NAMESPACE + "_SETTING_SECTION_BOT_CONFIG"
    },