fix: hide password
This commit is contained in:
parent
c697ef85a6
commit
fad794b647
@ -1,7 +1,6 @@
|
|||||||
import { ISchema } from '@formily/react';
|
import { i18n } from '../../i18n';
|
||||||
import { defaultProps } from './properties';
|
import { defaultProps } from './properties';
|
||||||
import { IField } from './types';
|
import { IField } from './types';
|
||||||
import { i18n } from '../../i18n';
|
|
||||||
|
|
||||||
export const password: IField = {
|
export const password: IField = {
|
||||||
name: 'password',
|
name: 'password',
|
||||||
@ -11,6 +10,7 @@ export const password: IField = {
|
|||||||
title: '{{t("Password")}}',
|
title: '{{t("Password")}}',
|
||||||
default: {
|
default: {
|
||||||
type: 'password',
|
type: 'password',
|
||||||
|
hidden: true,
|
||||||
// name,
|
// name,
|
||||||
uiSchema: {
|
uiSchema: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
Loading…
Reference in New Issue
Block a user