|
|
|
@ -316,6 +316,9 @@ const RadarrModal: React.FC<RadarrModalProps> = ({
|
|
|
|
|
</label>
|
|
|
|
|
<div className="mt-1 sm:mt-0 sm:col-span-2">
|
|
|
|
|
<div className="max-w-lg flex rounded-md shadow-sm">
|
|
|
|
|
<span className="inline-flex items-center px-3 rounded-l-md border border-r-0 border-gray-500 bg-gray-600 text-gray-100 sm:text-sm cursor-default">
|
|
|
|
|
{values.ssl ? 'https://' : 'http://'}
|
|
|
|
|
</span>
|
|
|
|
|
<Field
|
|
|
|
|
id="hostname"
|
|
|
|
|
name="hostname"
|
|
|
|
@ -325,7 +328,7 @@ const RadarrModal: React.FC<RadarrModalProps> = ({
|
|
|
|
|
setIsValidated(false);
|
|
|
|
|
setFieldValue('hostname', e.target.value);
|
|
|
|
|
}}
|
|
|
|
|
className="flex-1 form-input block w-full min-w-0 rounded-md transition duration-150 ease-in-out sm:text-sm sm:leading-5 bg-gray-700 border border-gray-500"
|
|
|
|
|
className="flex-1 form-input block w-full min-w-0 rounded-r-md transition duration-150 ease-in-out sm:text-sm sm:leading-5 bg-gray-700 border border-gray-500"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
{errors.hostname && touched.hostname && (
|
|
|
|
|