-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(person): personselect should now clear on setting selectedPerson …
…to null
- Loading branch information
Showing
3 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@equinor/fusion-wc-person": patch | ||
--- | ||
|
||
### Changes in `PersonSelectController` | ||
|
||
- Renamed the `attrSelectPerson` method to `attrSelectedPerson`. | ||
- Updated the `attrSelectedPerson` method to clear `selectedIds` when `select` is null or an empty string and `selectedIds` size is greater than zero. | ||
- Added logic to clear previous selections when the `selectedPerson` property changes. | ||
|
||
### Changes in `PersonSelectElement` | ||
|
||
- Updated the `updated` method to call `attrSelectedPerson` instead of `attrSelectPerson`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters