@@ -131,4 +96,4 @@ const Verification: NextPage = () => {
)
}
-export default Verification
+export default Verification
\ No newline at end of file
diff --git a/pkg/ui/Messages.tsx b/pkg/ui/Messages.tsx
index bcb4000..e7ef5fd 100644
--- a/pkg/ui/Messages.tsx
+++ b/pkg/ui/Messages.tsx
@@ -13,7 +13,7 @@ export const Message = ({ message }: MessageProps) => {
return (
-
+
{displayMessage(message, language)}
diff --git a/pkg/ui/NodeAnchor.tsx b/pkg/ui/NodeAnchor.tsx
index 71f96e0..8178cb7 100644
--- a/pkg/ui/NodeAnchor.tsx
+++ b/pkg/ui/NodeAnchor.tsx
@@ -9,7 +9,6 @@ interface Props {
export const NodeAnchor = ({ node, attributes }: Props) => {
return (
diff --git a/pkg/ui/NodeInputSubmit.tsx b/pkg/ui/NodeInputSubmit.tsx
index 1c79504..b71a1f5 100644
--- a/pkg/ui/NodeInputSubmit.tsx
+++ b/pkg/ui/NodeInputSubmit.tsx
@@ -37,6 +37,7 @@ export function NodeInputSubmit
({
name={attributes.name}
value={attributes.value || ""}
disabled={attributes.disabled || disabled}
+ formNoValidate={node.group === "link" || /resend/i.test(getNodeLabel(node))}
>
{buttonName}
diff --git a/pkg/ui/NodeScript.tsx b/pkg/ui/NodeScript.tsx
index 1a47b67..4c9f0b4 100644
--- a/pkg/ui/NodeScript.tsx
+++ b/pkg/ui/NodeScript.tsx
@@ -11,7 +11,6 @@ export const NodeScript = ({ attributes }: Props) => {
const script = document.createElement("script")
script.async = true
- script.setAttribute("data-testid", `node/script/${attributes.id}`)
script.src = attributes.src
script.async = attributes.async
script.crossOrigin = attributes.crossorigin
diff --git a/pkg/ui/NodeText.tsx b/pkg/ui/NodeText.tsx
index 82639f3..1dc2ccf 100644
--- a/pkg/ui/NodeText.tsx
+++ b/pkg/ui/NodeText.tsx
@@ -17,28 +17,21 @@ const Content = ({ node, attributes }: Props) => {
// This text node contains lookup secrets. Let's make them a bit more beautiful!
const secrets = (attributes.text.context as any).secrets.map(
(text: UiText, k: number) => (
-
+
{/* Used lookup_secret has ID 1050014 */}
{text.id === 1050014 ? "Used" : text.text}
),
)
return (
-
+
)
}
return (
-
+
)
@@ -47,7 +40,7 @@ const Content = ({ node, attributes }: Props) => {
export const NodeText = ({ node, attributes }: Props) => {
return (
<>
-
+
{node.meta?.label?.text}