Name:'push' creates empty select field
Name:'push' creates empty select field
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.
This discussion has been closed.
Replies
Thanks for this! Let me look into this and get back to you.
Allan
One thing - what version of Editor are you using please?
Editor version 1.5.6.
Not a major issue. Just thought I'd mention it.
Any chance you could try 1.6.1, the current release, please?
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".
Super - thanks! I'll take a look into it and get back to you.
Allan