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

addText method does not honor the 'std' argument for default values #116

Open
phpmypython opened this issue Jan 13, 2016 · 0 comments
Open

Comments

@phpmypython
Copy link

when adding a text field and providing the arg 'std' with a default value that value does not show when the box is rendered. The show method will only output a saved value for a field and never looks for the std arg as far as i could tell. I modified the show method for the text box with a small ternary that checks if the $meta is blank and if it is it will set the value equal to the std array key value. I'm sure there's another way you would like to fix this but i can submit a pull request with what i have if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant