Skip to content

Commit

Permalink
SOF-7298: fix arbitrary magnetization direction readonly status
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Apr 21, 2024
1 parent 0f2a86a commit f028301
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -78,7 +78,7 @@ export class NonCollinearMagnetizationContextProvider extends mix(JSONSchemaForm
angle1: this.defaultFieldStyles,
angle2: this.defaultFieldStyles,
},
"ui:readonly": !this.isExistingChargeDensity,
"ui:readonly": !this.isArbitrarySpinDirection,
"ui:options": {
addable: false,
orderable: false,
Expand Down Expand Up @@ -231,17 +231,17 @@ export class NonCollinearMagnetizationContextProvider extends mix(JSONSchemaForm
properties: {
x: {
type: "number",
title: "x-component",
title: "X-component",
default: 0.0,
},
y: {
type: "number",
title: "y-component",
title: "Y-component",
default: 0.0,
},
z: {
type: "number",
title: "z-component",
title: "Z-component",
default: 0.0,
},
},
Expand Down

0 comments on commit f028301

Please sign in to comment.