Add System token interface (#13549)

* Add system token interface

* use system token interface in users token field

* Update placeholder

* move notice below input

* fix clear value interaction

* update placeholder and notice text

* remove unused translation key

* rename class to match current naming

* fix bugs in disabled state and it's UX

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: jaycammarano <jay.cammarano@gmail.com>
This commit is contained in:
Azri Kahar
2022-05-27 06:01:19 +08:00
committed by GitHub
parent 374e0f47f5
commit 4e6c361a0e
4 changed files with 150 additions and 5 deletions

View File

@@ -135,10 +135,8 @@ fields:
template: '{{ name }}'
- field: token
interface: token
options:
iconRight: vpn_key
placeholder: $t:fields.directus_users.token_placeholder
interface: system-token
special: conceal
width: full
- field: id