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

updated components to display formatting in readonly #221

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

samhere06
Copy link
Contributor

updated components to display formatting in readonly

@samhere06 samhere06 force-pushed the mod/tot/readOnyFormat branch from a85253d to fa947cb Compare November 1, 2024 12:04
Copy link
Contributor

@niallriddell niallriddell left a comment

Choose a reason for hiding this comment

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

Minor comment around visible attribute being set unnecessarily, but approving anyhow.

const theContent = html`
<lion-input-amount
id=${this.theComponentId}
?readonly=${this.bReadonly}
?visible=${this.bVisible}
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure it's necessary to set visible - we early return if it's not visible and the default for visible is true.

@samhere06 samhere06 merged commit 3419eca into main Nov 5, 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