OAuth 1 Authentication Plugin (#292)

This commit is contained in:
Gregory Schier
2025-11-05 10:12:48 -08:00
committed by GitHub
parent ef86c1d189
commit 32d56f2274
8 changed files with 244 additions and 1 deletions

View File

@@ -247,6 +247,7 @@ function TextArg({
name={arg.name}
multiLine={arg.multiLine}
onChange={onChange}
className={arg.multiLine ? 'min-h-[4rem]' : undefined}
defaultValue={value === DYNAMIC_FORM_NULL_ARG ? arg.defaultValue : value}
required={!arg.optional}
disabled={arg.disabled}

View File

@@ -91,6 +91,7 @@ export interface EditorProps {
placeholder?: string;
readOnly?: boolean;
singleLine?: boolean;
containerOnly?: boolean;
stateKey: string | null;
tooltipContainer?: HTMLElement;
type?: 'text' | 'password';
@@ -131,6 +132,7 @@ export function Editor({
placeholder,
readOnly,
singleLine,
containerOnly,
stateKey,
type,
wrapLines,
@@ -540,7 +542,7 @@ export function Editor({
/>
);
if (singleLine) {
if (singleLine || containerOnly) {
return cmContainer;
}

View File

@@ -302,6 +302,7 @@ function BaseInput({
id={id.current}
hideGutter
singleLine={!multiLine}
containerOnly
stateKey={stateKey}
wrapLines={wrapLines}
heightMode="auto"