zapier / zapier-platform

The SDK for you to build an integration on Zapier

Home Page:https://platform.zapier.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Field labels are ignored in fields with children

anschutz opened this issue · comments

Bug Description

If an input field has children, the parent label property is ignored. What gets displayed is the beautified key property ("fieldKey" -> "Field Key"). This behavior is seen when rendering both static and dynamic fields.

Reproduction Steps

  1. Add input fields with any number of children:
{
  ...
  inputFields: [
    {
      key: 'fieldFoo',
      label: 'Label Foo',
      children: [{
        key: 'childFoo',
        label: 'Child Label Foo',
      }],
    },
    {
      key: 'fieldBar',
      label: 'Label Bar',
      children: [{
        key: 'childBar',
        label: 'Child Label Bar',
      }],
    },
  ],
}
  1. What we see is:

Screen Shot 2020-06-15 at 2 38 10 PM

Version Info

  • Version info: zapier-platform-cli/10.0.0 darwin-x64 node-v12.13.1
  • Operating System: macOS Catalina 10.15.3 (19D76)
  • App id: 101052

I've run into the same issue. Any plans to fix this bug?

This is a little bit out of the purview of our team (the editor team decides how our input is shown to end-users) but I can pass it along to them! They'll know more about whether this will change or not.

The editor team confirmed this was a bug and I've filed it with them. We'll let you know here when it's closed (which may take some time).

I was wondering if there was any progress on this? It is confusing our users because they are seeing terms they do not understand.