You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2016/02/01 18:56:40 UTC

[jira] [Resolved] (FLEX-33646) The "required" property on Validator should be a getter/setter

     [ https://issues.apache.org/jira/browse/FLEX-33646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mihai Chira resolved FLEX-33646.
--------------------------------
    Resolution: Fixed

> The "required" property on Validator should be a getter/setter
> --------------------------------------------------------------
>
>                 Key: FLEX-33646
>                 URL: https://issues.apache.org/jira/browse/FLEX-33646
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: Validators
>    Affects Versions: Apache Flex 4.8 (parity release)
>            Reporter: Devin Holloway
>            Assignee: Mihai Chira
>            Priority: Minor
>
> My scenario is a CompositeValidator that can wrap multiple validators and treat them as a single validator. Some properties can be set on the parent CompositeValidator which would propagate down to the child validators. Since the "required" attribute is not a setter, and it defaults to true, it's impossible to tell if the developer explicitly set it to true (which would indicate it needs propagated) or if they simply omitted the property and let it default to true.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)