The options form for argument handlers is pretty big, and if validators provide their own options it gets even larger. It would be nice if any options provided by a validator plugin were automatically placed in their own area, maybe a fieldset, to distinguish them from other options.
This might be a separate feature request, but it would also be nice to be able to provide some kind of description of a particular validator. Maybe there could be a space in this area for validator plugin options for a description of the validator so a user would have a better idea of whether or not this validator is what they want to use.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views_argument_validator_box.png | 73.03 KB | aclight |
| #1 | 270892_argument_validator_box_1.patch | 1.91 KB | aclight |
Comments
Comment #1
aclight commentedHere's a patch that does something like what I was thinking of. I'm not sure if there's a better way to use FAPI to do this because the way I do it in the patch feels a bit hackish, but I believe Earl mentioned that having these all be one level down in the FAPI hierarchy would be problematic.
Comment #2
aclight commentedAlso, here's a screenshot of this in action. Someone with some style taste can probably make it look prettier than I can. :)
Comment #3
merlinofchaos commentedCommitted, with some modifications (also expanded to work on the arguments too).
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.