[Bug]: PromptInput
defaults to maxRows
of 3
even though docs state there is no default
#3283
Open
2 tasks done
Labels
bug
Something isn't working
Browser
No response
Package version
3.0.895
React version
19.0.0
Description
I wanted a resize-able textarea, and since the base/normal
Textarea
component doesn't expose any way to dynamically check/set the height, I found thePromptInput
is basically just aTextarea
that supports dynamic resizing by default.Currently if you don't pass
maxRows
, it defaults to3
, but the docs state there is no default. Is it possible to remove the default, or support passingnull
or something? I can pass in an arbitrary large value like99999999
but it seems a bit hacky.tl;dr - the
PromptInput
component should simply resize with no limit by default and only enforce limits if the props are actually set on the component.https://cloudscape.design/components/prompt-input?tabId=api
Source code
No response
Reproduction
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: