Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Allow Per-Field Config (value, valid, invalid, etc) #6

Open
dominicbarnes opened this issue Jan 9, 2014 · 2 comments
Open

Allow Per-Field Config (value, valid, invalid, etc) #6

dominicbarnes opened this issue Jan 9, 2014 · 2 comments

Comments

@dominicbarnes
Copy link

It would be great if I could define configuration (e.g. value, valid and invalid callbacks) for individual fields.

This would be especially helpful when mixing vanilla form elements with things like yields/select or other highly interactive components. (that don't expose a .value() method)

@ianstormtaylor
Copy link
Contributor

nice, yeah im down. i think it would just involve wrapping the current field adapter setting in clone and then exposing the same functions on the fields to as is on the form. happy to merge it in

@dominicbarnes
Copy link
Author

I'll be needing this here at work, so I'll probably send a couple PRs your way tomorrow or next week.

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