slackapi / slackapi/bolt-js

plain_text_input default_value is not populating on iOS

Open
#2,377 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triage-skip bug server-side-issue
Dominant language
TypeScript
Stars
2.9k
Forks
445
Avg merge
1d 3h
Merged PRs (30d)
28

Description

You can see from the screenshots below I am viewing the same exact message. Light mode is on iOS mobile, and dark mode is on desktop.

The comment on mobile shows up as empty. Even if I click on it, the text does not show. The odd thing is the data is still there, because if I hit submit, it sends the data through still and works as if the comment was there.

IMG_3652

CleanShot 2024-12-27 at 21 44 13@2x

(Filling out the following with as much detail as you can provide will help us solve your issue sooner.)

@slack/bolt version: "@slack/bolt": "^4.2.0",
Your App and Receiver Configuration

export const slackApp = new App({
token: process.env.SLACK_BOT_TOKEN,
signingSecret: process.env.SLACK_SIGNING_SECRET,
socketMode: true,
appToken: process.env.SLACK_APP_TOKEN,
});

Node.js runtime version

v23.5.0

Steps to reproduce:
  • Send a message (in thread), setting the initial_value of a plain_text_input. Check it on desktop, then check the same message on mobile.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a threaded message containing a plain_text_input whose initial_value is set, comparing Slack desktop and iOS behavior. Trace how Bolt represents or sends the input configuration and determine whether the discrepancy is within bolt-js or Slack's mobile client. Done means the initial text is visible and editable on iOS without breaking submission.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.