fix: improve full name editable fields in Person Show page (#1390)
* fix: improve full name editable fields in Person Show page + autoresize inputs according to their content + use "Empty" as placeholder + improve hover style Closes #910 * refactor: code review - rename TemplateDimensionsEffect to ComputeNodeDimensionsEffect
This commit is contained in:
@ -48,8 +48,8 @@ export function PeopleFullNameEditableField({ people }: OwnProps) {
|
||||
return (
|
||||
<RecoilScope SpecificContext={FieldRecoilScopeContext}>
|
||||
<DoubleTextInputEdit
|
||||
firstValuePlaceholder={'First name'} // Hack: Fake character to prevent password-manager from filling the field
|
||||
secondValuePlaceholder={'Last name'} // Hack: Fake character to prevent password-manager from filling the field
|
||||
firstValuePlaceholder="Empty"
|
||||
secondValuePlaceholder="Empty"
|
||||
firstValue={internalValueFirstName ?? ''}
|
||||
secondValue={internalValueLastName ?? ''}
|
||||
onChange={handleChange}
|
||||
|
||||
Reference in New Issue
Block a user