Data Model Flex



            source="{nameTxt}"
        property="text"
        required="true"
        maxLength="10"
        minLength="2"
        tooLongError="This field contains 10 chars"
        tooShortError="You have to insert 2 chars at least" />