Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create a custom MXML component based on s:TextInput and name it MyTextInput.
<?xml version="1.0" encoding="utf-8"?>
<s:TextInput xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">
</s:TextInput>
2. Add MyTextInput component to the main application.
3. Compile.
Actual Results: error:
Multiple initializer values for default property, 'text', of type 'String'. MyTextInput.mxml /test3/src/views line 6 Flex Problem
Expected Results: No error. Subclass of TextArea doesn't cause this error.
Workaround (if any): Add <s:text></s:text> tag.