test_cases

Textarea Test Cases

Sr No.Case DescriptionDataExpected Output
1inputMdl is passedinputMdl = 'Initial Value'Textarea is shown with default value as 'Initial Value'.
2disableddisabled = trueUneditable textarea will be shown with default value.
3cst-textarea-element-override is passed..cst-textarea-element-override {margin-right:20px}Textarea is shown with customized style of the class passed.
4blur event callback is passed.evtBlurCallback()On blur, callback is called passing event and info object.
5otherInfo is passed with blur event.otherInfo = ''otherInfo is also set in info object when blur callback is called.