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

forms: Allow decl of promt and default for choices #427

Merged
merged 1 commit into from Jan 19, 2014

Conversation

greezybacon
Copy link
Contributor

Allow the administrator to enter a prompt to be shown in the choices drop-down for choice fields. Also add the option of selecting a default value from the list initially rather than displaying a prompt.

This also adds a validators option to the constructor of FormField which can be a list or simple callable or a list of callables.

Allow the administrator to enter a prompt to be shown in the choices
drop-down for choice fields. Also add the option of selecting a default
value from the list initially rather than displaying a prompt.
protich added a commit that referenced this pull request Jan 19, 2014
forms: Allow decl of prompt and default for choices

Reviewed-By: Peter Rotich <peter@osticket.com>
@protich protich merged commit f1b6052 into osTicket:develop Jan 19, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants