Skip to content

Commit

Permalink
Merge pull request #6975 from wso2/improve-case-in-sensitive-attribut…
Browse files Browse the repository at this point in the history
…e-togle

Improve case in sensitive attribute toggle
  • Loading branch information
sadilchamishka authored Oct 25, 2024
2 parents ee29b0b + 6187e6a commit 3df5db5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/giant-garlics-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/console": patch
---

Improve case insensitive user attribute handling toggle
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,11 @@ export const EditUserDetails: FunctionComponent<EditUserDetailsPropsInterface> =
? (
<Field
name={ property.name }
value={ property.value ?? property.defaultValue }
value={ !property.value
? property.defaultValue
: property.value === "false"
? "false"
: "true" }
type="toggle"
key={ index }
required={ false }
Expand Down

0 comments on commit 3df5db5

Please sign in to comment.