elegantthemes / create-divi-extension

MIT License
188 stars 59 forks source link

ePanel custom select #226

Open jamesfosker opened 5 years ago

jamesfosker commented 5 years ago

You guys have shared how we can add our own tabs to ePanel somewhere between the last 5 release custom select options added to our ePanel tab, no longer seem to keep the selected option, if your refresh ePanel you last saved item will still but the select feild will be empty, so when you save the ePanel settings it will overwrite your selection back to the default option, it used to work perfectly, these selects do fetch options from a function.

xxtesaxx commented 5 years ago

Hey James, I don't want to offend you but your question is really hard to understand. Maybe this can help you get better answers: https://stackoverflow.com/help/how-to-ask.

That out of the way, I just added a select field to one of my plugins which add their own settings tab to the ePanel. It seems to work absolutely normal. Are you sure this is caused by Divi and not another plugin overwriting the setting, resetting it?

Can you post your configuration for the field or share the whole code you use for the ePanel/your plugin?