[
https://issues.apache.org/jira/browse/PIVOT-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049832#comment-13049832
]
Sandro Martini commented on PIVOT-758:
--------------------------------------
> Again, only TextInput supports validators, so there is no way to generically
> apply a validator to an arbitrary component.
Ok, now I see this ... thanks.
And sorry, but to close the point:
but to perform validation on other input elements like TextArea, Spinners (for
example when contains a Date, like in the "Kitchen Sink" Demo) and maybe even
other elements, don't you think could be useful ?
That way the (opt. set) validator could work on the "external representation"
as string of the data displayed in the component ...
> I would suggest resolving this issue as "won't fix" and removing the target
> version.
At the moment, I'd prefer to keep this open (maybe renaming it, changing as a
wish and removing the release) if it's not a problem, because I'm really so
much interested in this feature.
> Required Fields inside a Form
> -----------------------------
>
> Key: PIVOT-758
> URL: https://issues.apache.org/jira/browse/PIVOT-758
> Project: Pivot
> Issue Type: Improvement
> Components: wtk, wtk-terra
> Reporter: Sandro Martini
> Assignee: Sandro Martini
> Priority: Minor
> Fix For: 2.1
>
>
> Improve the implementation of "required" inside Form, so is will be possible
> to make some simple validation (for example at form submit, like in HTML
> forms), like verify that all required fields have a value inside.
> The old discussion is here:
> http://apache-pivot-users.399431.n3.nabble.com/Form-required-does-it-have-any-functionality-td3057011.html#a3067323
> Comments, suggestions, etc are welcome.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira