Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow describedBy parameter to be passed to the textarea component #1167

Closed
wants to merge 3 commits into from
Closed

Conversation

kr8n3r
Copy link

@kr8n3r kr8n3r commented Jan 31, 2019

In order to fix #1106 the textarea component needs to be able to accept the describedBy parameter.

This PR allows for that and the designed behaviour of that parameter is that if the hint text or error message or both exist, they take precedence over the custom describedBy parameter.

As describedBy is already listed in the table of available options there is no need to add it here
being removed in #1181

@kr8n3r kr8n3r changed the title Allow describedBy attribute to be passed to the textarea component Allow describedBy parameter to be passed to the textarea component Jan 31, 2019
igloosi added 3 commits January 31, 2019 13:51
If only describedBy attribute is provided and not error or hint messages
exist, then out it only.

Otherwise retain previous behaviour.
@kr8n3r
Copy link
Author

kr8n3r commented Feb 11, 2019

closing as it will need a redo based on other PRs

@kr8n3r kr8n3r closed this Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Character count count message is not associated with textarea
1 participant