Loading
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む

Public Sector Upgrade causing Type Ahead Blocks to render [object object]

公開日: Sep 10, 2026
説明

Issue: When component options are set as List<String>, values may not display correctly.

  • List<String>: JSON parsing happens on this data, and the list becomes an object of objects — so the option name needs to be a plain string for it to parse correctly.
  • List<Map>: No serialization is involved, so the Map keeps the data type safe.

Cause: This is intentional, by design. List<String> options go through JSON parsing on the client, which requires each option's name to be a plain string — otherwise the values get turned into objects instead of staying as simple strings. List<Map> skips this parsing step entirely, so it always keeps data types safe.

 

解決策
Fix/Workaround:
  • Using List<String>? Make sure each option name is a plain string.
  • Need guaranteed type safety without relying on serialization? Use List<Map> instead.
ナレッジ記事番号

005459596

 
読み込み中
Salesforce Help | Article