-
Notifications
You must be signed in to change notification settings - Fork 28
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
MTV-2197: Plan name error text wrong for special characters #1527
Conversation
3271b23
to
8a49d02
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1527 +/- ##
==========================================
- Coverage 36.81% 36.14% -0.67%
==========================================
Files 158 157 -1
Lines 2548 2606 +58
Branches 599 633 +34
==========================================
+ Hits 938 942 +4
- Misses 1428 1470 +42
- Partials 182 194 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -23,16 +23,27 @@ export const PlanNameTextField: React.FC<PlanNameTextFieldProps> = ({ | |||
const { t } = useForkliftTranslation(); | |||
const [isUpdated, setIsUpdated] = React.useState(false); | |||
|
|||
const getInvalidHelperText = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why in tsx file ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid sending 3 params: value, validated and, t func
6ffa3f4
to
75cc778
Compare
Signed-off-by: Aviv Turgeman <[email protected]>
75cc778
to
71cb12d
Compare
|
📝 Links
📝 Description
we validate different conditions but we have same validation error message for all types of error.
separated messages according to the error.
🎥 Demo
fix-plan-name-validation.mp4
📝 CC://