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: only show validation message when status='invalid' #8649

Merged
merged 6 commits into from
Feb 21, 2024

Conversation

benelan
Copy link
Member

@benelan benelan commented Jan 26, 2024

Summary

The validation message for form components should only be displayed when the status property is "invalid".

@benelan benelan requested a review from a team as a code owner January 26, 2024 01:28
@benelan benelan added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Jan 26, 2024
@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Jan 26, 2024
Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

This looks good @benelan 👏

Should we have some screenshot & maybe e2e tests for this as well?

Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Feb 15, 2024
@benelan benelan added pr ready for visual snapshots Adding this label will run visual snapshot testing. low risk Issues with low risk for consideration in low risk milestones and removed Stale Issues or pull requests that have not had recent activity. pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Feb 21, 2024
@benelan benelan merged commit 7eac8d7 into main Feb 21, 2024
16 of 20 checks passed
@benelan benelan deleted the benelan/only-show-invalid-messages branch February 21, 2024 22:38
geospatialem pushed a commit that referenced this pull request Feb 27, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>@esri/calcite-components: 2.6.0</summary>

##
[2.6.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected])
(2024-02-27)


### Features

* **card-group:** Add Card Group component
([#8749](#8749))
([b012324](b012324))
* **tile-group:** Add Tile Group component
([#8806](#8806))
([4f65bdd](4f65bdd))


### Bug Fixes

* **combobox:** Long text truncates on single and single-persist modes
([#8731](#8731))
([8fc42b1](8fc42b1))
* **navigation-logo:** No longer changes icon color when `href` is
parsed
([#8830](#8830))
([16d456f](16d456f))
* Only show validation message when status='invalid'
([#8649](#8649))
([7eac8d7](7eac8d7))
* **preset:** Calcite—color-brand to calcite-color-brand
([#8809](#8809))
([ee2cf4e](ee2cf4e))
* **table:** Ensure border are correctly applied with complex rowSpan
([#8779](#8779))
([69f05d4](69f05d4))
</details>

<details><summary>@esri/calcite-components-angular: 2.6.0</summary>

##
[2.6.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected])
(2024-02-27)


### Miscellaneous Chores

* **@esri/calcite-components-angular:** Synchronize components versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^2.6.0-next.3 to ^2.6.0
</details>

<details><summary>@esri/calcite-components-react: 2.6.0</summary>

##
[2.6.0](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected])
(2024-02-27)


### Miscellaneous Chores

* **@esri/calcite-components-react:** Synchronize components versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^2.6.0-next.3 to ^2.6.0
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. low risk Issues with low risk for consideration in low risk milestones pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants