Don't allow people to set their instance name to an empty string (or only whitespace) (#240)
* make server name required * prevent space-only instance name * add useTrimLead to TextFieldProps
This commit is contained in:
@@ -29,6 +29,7 @@ export interface TextFieldProps {
|
||||
tip?: string;
|
||||
type?: string;
|
||||
useTrim?: boolean;
|
||||
useTrimLead?: boolean;
|
||||
value?: string | number;
|
||||
onBlur?: FieldUpdaterFunc;
|
||||
onChange?: FieldUpdaterFunc;
|
||||
|
||||
Reference in New Issue
Block a user