Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaults #17

Open
alanef opened this issue Dec 29, 2016 · 2 comments
Open

Defaults #17

alanef opened this issue Dec 29, 2016 · 2 comments
Labels
Type: Bug Bug in the codebase that needs fixing and testing

Comments

@alanef
Copy link

alanef commented Dec 29, 2016

Thanks for your code, it is nice, I came across a small issue in using it

In your example settings you use the term 'std'

and also in the framework

protected $setting_defaults = array(
'id' => 'default_field',
'title' => 'Default Field',
'desc' => '',
'std' => '',
'type' => 'text',
'placeholder' => '',
'choices' => array(),
'class' => '',
'subfields' => array()
);

But this was not working - so I examined further the code is actually keyed on the term 'default' and using 'default' works so basically a documentation / example issue

@BriKKou
Copy link

BriKKou commented Feb 3, 2017

Thanks @alanef that helps me a lot!
And thanks to the contributors for this very useful tool.

@jamesckemp
Copy link
Contributor

Yep, sorry - I changed that when I took over. I'll update the docs.

@mattwatsoncodes mattwatsoncodes added the Type: Bug Bug in the codebase that needs fixing and testing label Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug in the codebase that needs fixing and testing
Projects
None yet
Development

No branches or pull requests

4 participants