Adding indication of autosaved text fields

This commit is contained in:
James Barnsley
2020-05-03 13:54:34 +12:00
parent d4e6757341
commit f1b6ada66b
15 changed files with 336 additions and 165 deletions

View File

@ -111,6 +111,7 @@ const Servers = ({
type="text"
value={server.name}
onChange={value => dispatch(mopidyActions.updateServer({ id: server.id, name: value }))}
autosave
/>
</div>
</label>
@ -120,6 +121,7 @@ const Servers = ({
<TextField
value={server.host}
onChange={value => dispatch(mopidyActions.updateServer({ id: server.id, host: value }))}
autosave
/>
</div>
</label>
@ -130,6 +132,7 @@ const Servers = ({
type="text"
value={server.port}
onChange={value => dispatch(mopidyActions.updateServer({ id: server.id, port: value }))}
autosave
/>
</div>
</label>