Skip to main content

Creating drop downs with default option

  • July 24, 2020
  • 2 replies
  • 1810 views

SV_Laia

Hi everyone! 👋

I want to create drop down with default options, I have tried with defaults option but it is not working. Would anyone be able to help me out? 😁

Steps to reproduce

  1. Embed the SDK in an app
  2. Call mutation { create_column(board_id: <bordId>, title: "DropDown 3", column_type: dropdown, defaults: "{\\"labels\\":[\\"My label\\"]}") { id } }
  3. See the request fails
  4. Only create column without any default label

Expected behavior
There should be new column with default value which passed in default labels.

Cheers!

This topic has been closed for replies.

2 replies

Scott-monday.com
Forum|alt.badge.img

Hi @SV_Laia 👋

I gave it a shot myself and, all be darned, you’re right - it doesn’t seem seem to work!

I’ve since reached out to our developers and they were able to confirm that defaults is a non-functioning argument for the create create_column field and was not intended to be publicly visible. Because of this, they’ll be hiding it in the coming days.

My apologies for any confusion or frustration related to this. Thank you so much for taking the time to bring this to our attention 🙂

-Scott


SV_Laia
  • Author
  • New Participant
  • August 3, 2020

Hi @Scott-monday.com 😁

Now everything makes sense! ✨ It would be amazing if we could have this option later in the future! Thanks for taking the time to have a look at my post ‼️

Cheers.