react-spectrum
da520fcc - Readonly textfield textarea (#3277)

Commit
3 years ago
Readonly textfield textarea (#3277) * started textarea/textfield read only * updated css for focus and fixed spacing for text area * focus state like isQuiet, removed validation/icons, removed helptext * hopefully(?) fixed linting errors * linting errors hopefully fixed pt 2 * created new component called ReadOnlyField * added default value to readonly * fixed default value * fix bug with readOnly conditional * fixed the issue with inputValue and conditional statement for rendering when readOnly * fixed focus ring by moving it to readonlyfield * implemented changes based on feedback * fixed height/spacing issues and added additional stories using controls * added controls to specific stories and fixed internationalization * fixed stories, formatting, made changes to field/readonlyfield * removed flex in readonlyfield and adjusted logic for height change in textarea * fixed issue with textarea height change and readOnly * fix textarea conditional with onHeightChange Co-authored-by: yihuiliao <yliao@adobe.com> Co-authored-by: Robert Snow <rsnow@adobe.com>
Author
Parents
Loading