WhatsApp/Signal/Formstack/admin updates
This commit is contained in:
parent
bcecf61a46
commit
d0cc5a21de
451 changed files with 16139 additions and 39623 deletions
|
|
@ -32,13 +32,13 @@ export const InternalButton: FC<InternalButtonProps> = ({
|
|||
type = "button",
|
||||
onClick,
|
||||
}) => (
|
||||
// @ts-expect-error - don't pass empty href
|
||||
<MUIButton
|
||||
variant="contained"
|
||||
disableElevation
|
||||
disabled={disabled}
|
||||
onClick={onClick}
|
||||
type={type}
|
||||
href=""
|
||||
sx={{
|
||||
fontFamily: "Poppins, sans-serif",
|
||||
fontWeight: 700,
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ export const MultiValueField: FC<MultiValueFieldProps> = ({
|
|||
newFields[index][position] = value;
|
||||
setFields(newFields);
|
||||
// formState.values[name] = Object.fromEntries(newFields);
|
||||
// console.log(formState.values);
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -51,7 +51,12 @@ export const Select: FC<SelectProps> = ({
|
|||
}}
|
||||
>
|
||||
{options.map((option: SelectOption) => (
|
||||
<MenuItem key={option.value} value={option.value}>
|
||||
<MenuItem
|
||||
key={option.value}
|
||||
value={option.value}
|
||||
// @ts-ignore
|
||||
disabled={option.disabled ?? false}
|
||||
>
|
||||
{option.label}
|
||||
</MenuItem>
|
||||
))}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue