Implement a Character Count for TextArea based on Value from a Dropdown.
I have a requirement where a TextArea Property should show character count. Its Max characters should be 1000 characters when a single value say "X" from dropdown is selected and it should be 250 characters when any value other than "X" is selected.
TextArea property should show a character count and it mandatory field.
Please suggest a solution or best possible approach to achieve this functionality. Thanks in advance.