fix editable attribute of joined fields (fix #7739)
Based on pull request 576 by minorua