Secret Field

Digite, salve e limpe um segredo, como uma chave de API, com status definido / não definido.

Disponível em
  • Angular: disponível
  • Vue: disponível
  • React: disponível
  • React Native: ainda não disponível

Uso

API key Not set

Stored in the system keychain and never logged.

Workspace token Not set

Importação

ts
import {
  SoneSecretFieldComponent,
} from "@surface-one/angular/secret-field";

Referência da API

SoneSecretFieldComponentComponente

Seletor
sone-secret-field
Inputs
NomeTipo Padrão
hasKeyboolean | nullnull
busybooleanfalse
errorstring | nullnull
label—$localize`Status`
placeholderstring""
ariaLabelstring | nullnull
helpstring | nullnull
setLabel—$localize`Key set ✓`
unsetLabel—$localize`Not set`
saveLabel—$localize`Save key`
autocompletestring"off"
clearablebooleanfalse
Outputs
NomeTipo
save

The parent must not log or store this outside the Keychain.

string
clearvoid