Share feedback, ideas and get community help

Updated 3 months ago

Options defaultvalue

Hi guys I'm setting the defaultvalue in options.string.layout but when I go to options.name it's coming up undefined, how do I set a value in a text field without it coming up undefined?

Plain Text
conversationId: option.string.layout({
      label: 'Conversation ID',
      defaultValue: '37',
      isRequired: true,
      isHidden: false,
    }),

if (!options.conversationId) return logs.add('Conversation ID is missing')



I'm doing it like this, and passing a condition to check if it has any value, but it always comes undefined
Add a reply
Sign up and join the conversation on Discord