Skip to content

Commit

Permalink
only pass through password
Browse files Browse the repository at this point in the history
  • Loading branch information
sdirix committed Jan 22, 2024
1 parent 550fe09 commit 0b1deb3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/vanilla-renderers/src/cells/TextCell.tsx
Expand Up @@ -50,9 +50,7 @@ export const TextCell = (props: CellProps & VanillaRendererProps) => {
const appliedUiSchemaOptions = merge({}, config, uischema.options);
return (
<input
type={
appliedUiSchemaOptions.format ? appliedUiSchemaOptions.format : 'text'
}
type={appliedUiSchemaOptions.format === 'password' ? 'password' : 'text'}
value={data || ''}
onChange={(ev) =>
handleChange(path, ev.target.value === '' ? undefined : ev.target.value)
Expand Down

0 comments on commit 0b1deb3

Please sign in to comment.