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

Unable to allow for a multiline string via ISetting. #619

Open
icyavocado opened this issue May 7, 2023 · 0 comments
Open

Unable to allow for a multiline string via ISetting. #619

icyavocado opened this issue May 7, 2023 · 0 comments

Comments

@icyavocado
Copy link

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"
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant