Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnCh committed Sep 23, 2024
1 parent 03e5d5f commit 05615bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/inputs/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export interface TextFieldProps<X> extends BeamTextFieldProps<X> {
endAdornment?: ReactNode;
startAdornment?: ReactNode;
hideErrorMessage?: boolean;
/** Allow focusing without selecting, i.e. to let the user keep typing after we've pre-filled text + called focus, like the Add New component. */
selectOnFocus?: boolean;
}

Expand Down
2 changes: 1 addition & 1 deletion src/inputs/TextFieldBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export interface TextFieldBaseProps<X>
// Replaces empty input field and placeholder with node
// IE: Multiselect renders list of selected items in the input field
unfocusedPlaceholder?: ReactNode;
// Allow to disabled select onfocus, so the field can be auto-focus without selecting all text
/** Allow focusing without selecting, i.e. to let the user keep typing after we've pre-filled text + called focus, like the Add New component. */
selectOnFocus?: boolean;
}

Expand Down

0 comments on commit 05615bc

Please sign in to comment.