-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
src/components/fields/Date/index.ts
Outdated
@@ -104,6 +104,7 @@ class DateComponent extends FormComponentBase { | |||
id=${this.theComponentId} | |||
name="DateOnly" | |||
dataTestId=${this.testId} | |||
.value=${dateValue} |
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.
Is this needed? Since the value
property will be overwritten in the LionInputDatetime
class anyways?
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.
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} |
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.
Same as above comment.
src/components/MultiStep/index.ts
Outdated
return sStyle; | ||
} | ||
|
||
_showHLine(index: number): boolean { | ||
// eslint-disable-next-line sonarjs/prefer-single-boolean-return | ||
if (index < this.arNavigationSteps.length - 1) { |
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.
Can change this method to: return index < this.arNavigationSteps.length - 1
to be more leaner.
Date and DateTime value not displaying on screen change issue fixed.
Multi step and Stages style issues fixed.