Skip to content

Commit

Permalink
fix text input to load attribute value
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbiam committed Dec 11, 2023
1 parent c9242f1 commit 2c179eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/register/src/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ function DashboardContent() {
fullWidth
onChange={event => {onListInputChange(event,attributeConfig)}}
onSelect={event => {onListInputChange(event,attributeConfig)}}
renderInput={(params) => <TextField {...params} variant="outlined" label={attributeConfig.displayName} onChange={event => {onTextInputChange(event,attributeConfig)}} />}
renderInput={(params) => <TextField {...params} variant="outlined" label={attributeConfig.displayName} onChange={event => {onTextInputChange(event,attributeConfig)}} value={attributes.userData[attributeConfig.name]} />}
/>

}
Expand Down

0 comments on commit 2c179eb

Please sign in to comment.