Name:'push' creates empty select field

Name:'push' creates empty select field

dataBdataB Posts: 23Questions: 5Answers: 1

In Editor if the select column name is "push" it seems to create an empty select field.

For example:

{ label: 'Alert Type',  name: 'push', fieldInfo: 'Push notification or in-app alert', type: 'select',
                    options: [
                        { label: "Push Notification", value: 1 },
                        { label: "In-App Alert", value: 0 },
                    ], "default": 1,  
                },

Once I changed the column name to "is_push" (or anything else) I had no issues.

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    Thanks for this! Let me look into this and get back to you.

    Allan

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    One thing - what version of Editor are you using please?

  • dataBdataB Posts: 23Questions: 5Answers: 1
    edited December 2016

    Editor version 1.5.6.

    Not a major issue. Just thought I'd mention it.

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    Any chance you could try 1.6.1, the current release, please?

  • dataBdataB Posts: 23Questions: 5Answers: 1

    Yes. Looks like I have the same issue with 1.6.1. "is_push" works fine. No errors in the console in either case. Just an empty select field if column name is "push".

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    Super - thanks! I'll take a look into it and get back to you.

    Allan

This discussion has been closed.