Skip to content

Commit

Permalink
short text label instead of placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
VargaJoe committed Sep 29, 2023
1 parent 410a79e commit 18d4760
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sn-controls-react/src/fieldcontrols/short-text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ export const ShortText: React.FC<ReactClientFieldSetting<ShortTextFieldSetting>>
name={props.settings.Name}
id={props.settings.Name}
label={props.settings.DisplayName}
placeholder={props.settings.DisplayName}
// placeholder={props.settings.DisplayName}
InputLabelProps={{ shrink: true }}
value={value}
required={props.settings.Compulsory}
disabled={props.settings.ReadOnly}
Expand Down

0 comments on commit 18d4760

Please sign in to comment.