fix: env params incorrect after switching between vendors
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import type { InputProps } from 'antd';
|
||||
import { Form, Input } from 'antd';
|
||||
import { PasswordProps } from 'antd/lib/input/Password';
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import { SealFormItemProps } from './types';
|
||||
import Wrapper from './wrapper';
|
||||
import InputWrapper from './wrapper/input';
|
||||
|
||||
const SealPassword: React.FC<InputProps & SealFormItemProps> = (props) => {
|
||||
const SealPassword: React.FC<InputProps & SealFormItemProps & PasswordProps> = (
|
||||
props
|
||||
) => {
|
||||
const {
|
||||
label,
|
||||
placeholder,
|
||||
|
||||
@@ -13,7 +13,7 @@ const SelectWrapper = styled.div`
|
||||
border-color: var(--ant-input-active-border-color) !important;
|
||||
outline: 0;
|
||||
background-color: var(--ant-input-active-bg);
|
||||
border-bottom: none !important;
|
||||
border-bottom-color: transparent !important;
|
||||
border-radius: ${BORDERRADIUS}px ${BORDERRADIUS}px 0 0;
|
||||
transition: all 0.2s ease;
|
||||
box-shadow: none;
|
||||
@@ -24,7 +24,7 @@ const SelectWrapper = styled.div`
|
||||
height: 1px;
|
||||
margin-inline: 1px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
left: 0px;
|
||||
right: 0;
|
||||
background-color: var(--ant-color-split);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user