slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno
https://api.slack.com/automation
MIT License
155 stars 27 forks source link

[QUERY] The hint about form #263

Closed AceRui closed 7 months ago

AceRui commented 7 months ago
const inputForm = MondayWorkflow.addStep(
  Schema.slack.functions.OpenForm,
  {
    title: 'Automation Request',
    interactivity: MondayWorkflow.inputs.interactivity,
    submit_label: 'Submit',
    fields: {
      elements: [
        // title
        {
          name: 'item',
          title: 'Item',
          type: Schema.types.string,
          hint: "需求内容"
        },

Thie is a part of my codes,is there something wrong with it, why is there no parameter hint when my form opens? 截屏2024-01-04 12 48 36

filmaj commented 7 months ago

Hello, there is no hint available on OpenForm fields.

Please see the OpenForm element type parameters, and the available fields based on each type for each form element in our documentation on the topic.

I suggest using description instead.