Improve phone number input (#3472)
* add country code once country selected * add changes also for when editing workflows Co-authored-by: CarinaWolli <wollencarina@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>add-next-theme
parent
629131b7f9
commit
33e79c8ad5
|
@ -15,6 +15,7 @@ function PhoneInput<FormValues>({ control, name, ...rest }: PhoneInputProps<Form
|
|||
return (
|
||||
<BasePhoneInput
|
||||
{...rest}
|
||||
international
|
||||
name={name}
|
||||
control={control}
|
||||
countrySelectProps={{ className: "text-black" }}
|
||||
|
|
|
@ -231,6 +231,7 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
|||
<div className="flex space-y-1">
|
||||
<div className="mt-1 ">
|
||||
<PhoneInput
|
||||
international
|
||||
value={sendTo}
|
||||
onChange={(newValue) => {
|
||||
if (newValue) {
|
||||
|
|
Loading…
Reference in New Issue