Closed izzmeifter closed 8 years ago
Adding more than one textEditorPropery via fx:Object results in the error "Cannot create property 0 on feathers.controls.text.StageTextTextEditor."
<f:TextInput verticalAlign="{TextInput.VERTICAL_ALIGN_JUSTIFY}"> <f:layoutData> <f:AnchorLayoutData top="0" left="0" right="0"/> </f:layoutData> <f:textEditorProperties> <fx:Object multiline="true" /> <fx:Object returnKeyLabel="{ReturnKeyLabel.DONE}"/> </f:textEditorProperties> </f:TextInput>
This will cause the error. If I remove one of the fx:Object the input works fine except of course I require the additional objects.
Perhaps I'm going about this wrong.
You need to set multiple properties on a single object:
<f:textEditorProperties> <fx:Object multiline="true" returnKeyLabel="{ReturnKeyLabel.DONE}"/> </f:textEditorProperties>
Adding more than one textEditorPropery via fx:Object results in the error "Cannot create property 0 on feathers.controls.text.StageTextTextEditor."
This will cause the error. If I remove one of the fx:Object the input works fine except of course I require the additional objects.
Perhaps I'm going about this wrong.