Skip to content

Commit

Permalink
fix: renamed dataValue to data-value to conform to correct select pro…
Browse files Browse the repository at this point in the history
…perties
  • Loading branch information
ADRFranklin committed Dec 31, 2023
1 parent bc45ea6 commit 8b885a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions admin/src/page/Requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,11 @@ class Requests extends React.Component {
? this.state[`edit_${type}`][server.uuid]?.path
: false
}
// dataValue={
// this.state[`edit_${type}`][server.uuid]?.path
// ? this.state[`edit_${type}`][server.uuid]?.path
// : false
// }
data-value={
this.state[`edit_${type}`][server.uuid]?.path
? this.state[`edit_${type}`][server.uuid]?.path
: false
}
onChange={this.changeServerSettings}
>
<option value="">Please choose</option>
Expand Down

0 comments on commit 8b885a4

Please sign in to comment.