preChatFieldValueProvider

abstract var preChatFieldValueProvider: (List<PreChatField>) -> List<PreChatField>?

A provider for supplying pre-populated pre-chat values.

Takes a user-defined lambda expression to alter the list of PreChatFields before they're rendered in the pre-chat form. For more details, see the documentation on populate pre-chat fields.