olach / kirby-relationship

Sortable multiselect field for Kirby 2 CMS
77 stars 4 forks source link

adds username fallback to readme example of userlist #7

Closed flokosiol closed 6 years ago

flokosiol commented 6 years ago

Hey @olach ,

Following the example of a userlist controller in your README leads to some "empty" options, if there's no firstname nor lastname set in the users' profile. So I added username as a fallback to the README.

This is an awesome field! Keep up the great work!

userlist

flokosiol commented 6 years ago

Oh. I accidentally deleted the foreach loop. 🙈 Will fix it as soon as possible. Sorry.

olach commented 6 years ago

Thanks! Perfect with a fallback here.