Skip to content

bug: ion-textarea custom style not working for help or count #3112

@StefaniToto

Description

@StefaniToto

Describe the Bug

Based on ionic documentation we can access and change the attributes of count and error .
https://ionicframework.com/docs/api/textarea

Below is a demo to change the size and color.

https://stackblitz.com/edit/angular-dhulrr-hexdmn?file=src%2Fapp%2Fexample.component.css,src%2Fapp%2Fexample.component.html

Expected Behavior

`ion-textarea.custom {
--background: #373737;
--color: #fff;
--padding-end: 10px;
--padding-start: 10px;
--placeholder-color: #ddd;
--placeholder-opacity: 0.8;
}

ion-textarea.custom .helper-text,
ion-textarea.custom .counter {
color: red !important;
font-size: 24px !important;
}`

Is expected to change the the style of helper and counter

Steps to Reproduce

Latest stackblitz from ionic documentation

Screenshots

image

Operating System

windows

Browser

firefox, chrome

Version

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentIssues related to the contents of the documentation website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions