appsmith: [Bug]: Input widget issues

Is there an existing issue for this?

  • I have searched the existing issues

Description

  1. Error message when Default Text has more characters than the Max Chars is incorrect. It should be: Default Text length must be less than or equal to Max Chars allowed. Screenshot 2022-06-27 at 3 03 02 PM

  2. ~If a user enters some text in the widget and then sets a Max Chars such that it is less than the initial text entered, no error is thrown. (This is reproducible in release. Works fine in prod) https://www.loom.com/share/1b94a690ce674008ac909f9dc6eb1ba1~

Steps To Reproduce

  1. D&D an Input widget.

Public Sample App

No response

Version

Cloud

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

@shadabbuchh @jnikhila On further looking into the issue I have a different POV now.

This issue only occurs when the default text is bigger than the max char allowed, that mean the app viewer has no control over this, I think ideally the error should be shown on the property pane itself.

Hence the error show to the end user today is invalid. Do you guys agree?

cc @dilippitchika need you inputs here