I'm trying to use the plugin to show all nationalities on front-end form, I'm able to pull the countries, but I'm unable to get the selected option by the client to be saved on the DB. When trying to access the data on the back-end forms I get errors. (The model class Lindelwa\EBilitiesResearch\Models\Application must define a method getCountryIdOptions() returning options for the 'country_id' form field.)
I've tried to make sense of what's in the documentation:
http://octobercms.com/docs/backend/forms#field-dependencies
But I've failed.
Here's an image of what I'm trying to achieve.
I want to be able to show countries in a drop-down List on the front-end and when to accessed on the back-end I should be able to check which country has been selected and still show all countries in a drop-down list.