Get editor select type based on another field when display editor form

Get editor select type based on another field when display editor form

yu yen kanyu yen kan Posts: 65Questions: 31Answers: 0
edited May 2017 in Free community support

I have a field declaration that show list of user from server

{
                    label: "Available User",
                    name: "user.id",
                    type: "select"
                }

the list is show only available when create and show available and current when edit, how can I pass selected user id when edit?

Answers

  • allanallan Posts: 63,889Questions: 1Answers: 10,530 Site admin

    So basically you don't want it to be editable when in edit mode? In which case use field().disable().

    Allan

This discussion has been closed.