File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const schema
1212 {
1313 $formkit: ' primeOutputLink' ,
1414 name: ' link2' ,
15- label: ' Ensure protocol with custom title' ,
15+ label: ' Ensure protocol and use custom title' ,
1616 title: ' Click me' ,
1717 },
1818
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ const schema
1313 {
1414 $formkit: ' primeOutputReference' ,
1515 name: ' externalValue' ,
16- label: ' Another External Link' ,
16+ label: ' External Link with custom title' ,
17+ title: ' Show on GitHub' ,
1718 reference: ' https://github.com/sfxcode/{{valueNameNotImportant}}' ,
1819 },
1920 {
@@ -23,10 +24,18 @@ const schema
2324 internal: true ,
2425 reference: ' /outputs/{{value}}' ,
2526 },
27+ {
28+ $formkit: ' primeOutputReference' ,
29+ name: ' internalLink' ,
30+ label: ' Internal Link with custom title' ,
31+ internal: true ,
32+ title: ' Show: {{value}}' ,
33+ reference: ' /outputs/{{value}}' ,
34+ },
2635
2736 ]
2837
29- const data = { externalId: 42 , externalValue: ' formkit' , internalLink: ' outputLink' }
38+ const data = { externalId: 42 , externalValue: ' formkit-primevue ' , internalLink: ' outputLink' }
3039 </script >
3140
3241<template >
You can’t perform that action at this time.
0 commit comments