Skip to content

BAH-4730 | Introduce form control APIs to manage notes for observation#51

Open
angshu wants to merge 3 commits into
masterfrom
SHOW-OBS-NOTES
Open

BAH-4730 | Introduce form control APIs to manage notes for observation#51
angshu wants to merge 3 commits into
masterfrom
SHOW-OBS-NOTES

Conversation

@angshu

@angshu angshu commented May 21, 2026

Copy link
Copy Markdown
Member

No description provided.

@angshu angshu requested a review from PratitiP May 21, 2026 10:53
Comment thread test/components/Comment.test.js Outdated

// Textarea is auto-expanded when an existing comment is provided — no click needed.
expect(screen.getByRole('textbox')).toHaveValue('Some Comment');
fireEvent.click(screen.getByRole('button'));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems like a behaviour change. So during an edit when form is loaded with notes, the user will see the notes box only on click of the button is it ?

@angshu angshu May 27, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

should not be. during edit if the comment/note is captured, the note should be displayed automatically. unfortunately without edit feature, its not possible to test out now. Note: this lib is not available on older version of form

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed this. pls check

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.

2 participants