API method to get currently edited field

API method to get currently edited field

pcfreak30pcfreak30 Posts: 1Questions: 0Answers: 0

Would have a method so for example if im bubble editing, I can hook into preOpen and get the current field if applicable and optionally change the set data from the modifier(). Right now I have to do:

table.column('assigned_users:name').nodes().flatten().to$().on('click', function () {
                let data = table.cell(this).data()
                self.editor.field('assigned_users').set(_.pluck(data.assigned_users, 'id'))


  • allanallan Posts: 60,962Questions: 1Answers: 9,940 Site admin

    displayed() is the method that will tell you what fields the end user can see.

    Technically all fields are still editable via the API, even if only one is visible to the end user.


This discussion has been closed.