Skip to main content
Solved

Blocks SDK suggestion: disabled props for ConfirmationDialog

  • January 27, 2021
  • 3 replies
  • 25 views

Andy_Cloke
Forum|alt.badge.img+17

It would be really useful to be able to set confirmButtonDisabled and cancelButtonDisabled (both booleans) to diable the respective buttonts on the ConfirmationDialog component.

Best answer by Emma_Yeap

Hi @Andy_Cloke,

Thanks for the suggestion! I’ve added this to our list of potential future SDK enhancements. I’ll keep this thread updated, or you can keep an eye on the SDK changelog here: blocks/CHANGELOG.md at master · Airtable/blocks · GitHub

3 replies

Andy_Cloke
Forum|alt.badge.img+17
  • Author
  • Known Participant
  • 91 replies
  • February 2, 2021

@somehats just wanted to tag you in case you missed this :slightly_smiling_face:


Forum|alt.badge.img+11
  • Inspiring
  • 55 replies
  • Answer
  • February 2, 2021

Hi @Andy_Cloke,

Thanks for the suggestion! I’ve added this to our list of potential future SDK enhancements. I’ll keep this thread updated, or you can keep an eye on the SDK changelog here: blocks/CHANGELOG.md at master · Airtable/blocks · GitHub


Forum|alt.badge.img+11
  • Inspiring
  • 55 replies
  • February 25, 2021

@Andy_Cloke this has been added to the latest version of the SDK, 1.5.0: blocks/CHANGELOG.md at master · Airtable/blocks · GitHub

The props are called isCancelButtonDisabled and isConfirmButtonDisabled. They are optional and default to false. The API docs will be updated with these new props shortly.