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

Fixed the issues identified during adoption testing #209

Merged
merged 3 commits into from
Oct 3, 2024
Merged

Conversation

4manasa
Copy link
Contributor

@4manasa 4manasa commented Oct 1, 2024

Date and DateTime value not displaying on screen change issue fixed.
Multi step and Stages style issues fixed.

@@ -104,6 +104,7 @@ class DateComponent extends FormComponentBase {
id=${this.theComponentId}
name="DateOnly"
dataTestId=${this.testId}
.value=${dateValue}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this needed? Since the value property will be overwritten in the LionInputDatetime class anyways?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, missed to remove while raising PR, updated now.

@@ -109,6 +109,7 @@ class DateTime extends FormComponentBase {
id=${this.theComponentId}
name="DateTime"
dataTestId=${this.testId}
.value=${dateTimeValue}
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above comment.

return sStyle;
}

_showHLine(index: number): boolean {
// eslint-disable-next-line sonarjs/prefer-single-boolean-return
if (index < this.arNavigationSteps.length - 1) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can change this method to: return index < this.arNavigationSteps.length - 1 to be more leaner.

@vishalshrm539 vishalshrm539 self-requested a review October 3, 2024 16:04
@4manasa 4manasa merged commit 8787595 into main Oct 3, 2024
4 checks passed
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