ui5-webcomponents
ui5-webcomponents copied to clipboard
[SF][A11y][ui5-textarea]: growingMaxLines does not work when valueState is Error
Bug Description
growingMaxLines dose not work and only one line text is visible when set ui5-textarea properties as below: rows = 1 valueState = Error growing = true growingMaxLines > 1
Affected Component
ui5-textarea
Expected Behaviour
The maximum number of lines should align with the growingMaxLines property.
Isolated Example
No response
Steps to Reproduce
- navigate to https://sap.github.io/ui5-webcomponents/playground/?path=/docs/main-text-area--text-area-overview
- set rows = 1, valueState = Error, growing = true, growingMaxLines > 1
- type text in text area component
- only one line text is visible when the number of lines is greater than growingMaxLines
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
1.24.0
Browser
Chrome, Edge, Firefox, Safari
Operating System
macOS Sonoma 14.3.1
Additional Context
No response
Organization
No response
Declaration
- [X] I’m not disclosing any internal or sensitive information.
Hello @ui5-webcomponents-topic-rl,
Seems value state play role here.
I have tested with growingMaxLines=5.
Same properties, but with
valueState=Success:
Best regards, Petar