Skip to content
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

fix(ui-date-time-input,ui-form-field): make DateTimeInput compatible … #1826

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

balzss
Copy link
Contributor

@balzss balzss commented Dec 12, 2024

…with the new error format

INSTUI-4405

test plan:

  • check the datetimeinput examples in the error forms guide
  • setting the isRequired prop should display two separate asterisks for each field
  • when required and displaying an error, the asterisks should turn red
  • the errors should be displayed under the input field like it was a single field and not a group

@balzss balzss requested review from matyasf and HerrTopi December 12, 2024 15:53
@balzss balzss self-assigned this Dec 12, 2024
Copy link

github-actions bot commented Dec 12, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-12-18 09:26 UTC

Copy link
Collaborator

@matyasf matyasf left a comment

Choose a reason for hiding this comment

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

looks good. I wonder why there is a test failure, when I run the test jsx code in thr docs app the time-input label is there.. If you figure out whats wrong (maybe just rerun the test?) then its good from me

@balzss balzss force-pushed the fix/datetimeinput-required-error branch from cd32eaf to c0e9a50 Compare December 13, 2024 17:39
@balzss
Copy link
Contributor Author

balzss commented Dec 13, 2024

looks good. I wonder why there is a test failure, when I run the test jsx code in thr docs app the time-input label is there.. If you figure out whats wrong (maybe just rerun the test?) then its good from me

fixed. it was a missing *

@HerrTopi HerrTopi merged commit 07c9443 into master Dec 18, 2024
10 of 11 checks passed
@HerrTopi HerrTopi deleted the fix/datetimeinput-required-error branch December 18, 2024 09:25
matyasf added a commit that referenced this pull request Dec 19, 2024
…with the new error format

Backport of INSTUI-4405 from the v10 branch Github PR #1826
TEST PLAN:
- check the datetimeinput examples in the error forms guide
- setting the isRequired prop should display
two separate asterisks for each field
- when required and displaying an error, the asterisks should
turn red
- the errors should be displayed under the input field like it
was a single field and not a group
matyasf added a commit that referenced this pull request Dec 19, 2024
…with the new error format

Backport of INSTUI-4405 from the v10 branch Github PR #1826
TEST PLAN:
- check the datetimeinput examples in the error forms guide
- setting the isRequired prop should display
two separate asterisks for each field
- when required and displaying an error, the asterisks should
turn red
- the errors should be displayed under the input field like it
was a single field and not a group
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