Skip to content

Conversation

@niko-exo
Copy link

ref: https://app.clickup.com/t/86b7h9kmt

86b7h9kmt - fix: replace hidden html string for empty string

Changelog

  • Validate html dirty string and replace its value for an empty string to trigger validation.

Links

86b7h9kmt - User is able to save without filling out mandatory field

Evidence

2025-12-24_11-06-02.mp4

@niko-exo
Copy link
Author

niko-exo commented Jan 5, 2026

@smarcet Don't forget about this PR.

id={name}
value={values[name]}
onChange={(e) => setFieldValue(name, e.target.value)}
onChange={(e) => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@niko-exo

  1. lets create helper method
    called normalizeJoditEmpty
    2.and lets conver also there some edge cases


    /  

Copy link

@smarcet smarcet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@niko-exo please review commnets

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.

3 participants