Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

adding support default value #34

Open
githubuser441 opened this issue Apr 13, 2017 · 1 comment
Open

adding support default value #34

githubuser441 opened this issue Apr 13, 2017 · 1 comment

Comments

@githubuser441
Copy link

How do you add support for the default value option on v5?

BTW: Sorry for the noob questing but couldn't find any information about this voor version 5

@elliotcondon
Copy link
Collaborator

Hi @coollorenzo

The $defaults array is used to merge in default settings. There is a 'special' setting called 'default_value' that will be loaded as the field's value if no value yet exists.

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

No branches or pull requests

2 participants