1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-26 18:48:15 +02:00

Show hover-over title on edit fields

This commit is contained in:
Chen-I Lim 2021-02-16 11:48:41 -08:00
parent 0f7dc4ad8d
commit 99445eb08e

View File

@ -50,6 +50,7 @@ export default class Editable extends React.Component<Props> {
onChange(e.target.value)
}}
value={value}
title={value}
onBlur={() => this.saveOnBlur && this.props.onSave && this.props.onSave('onBlur')}
onKeyDown={(e: React.KeyboardEvent<HTMLInputElement>): void => {
if (e.keyCode === 27 && !(e.metaKey || e.ctrlKey) && !e.shiftKey && !e.altKey) { // ESC