You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ux.symfony.com/src/Service/LiveDemoRepository.php
+20-9Lines changed: 20 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,8 @@ public function findAll(): array
32
32
<br>
33
33
This renders a normal Symfony form but with extras added on top,
34
34
all generated from Symfony & Twig.
35
-
EOF
35
+
EOF,
36
+
tags: ['form', 'validation', 'inline'],
36
37
),
37
38
newLiveDemo(
38
39
'infinite-scroll',
@@ -43,6 +44,7 @@ public function findAll(): array
43
44
Infinite scroll allows users to continuously load content as they scroll down the page.
44
45
<br><code>Part One</code> of this demo shows how to <code>append new items</code> to the page with a <a href="/live-component"><code>LiveComponent</code></a>.
45
46
EOF,
47
+
tags: ['pattern', 'pagination', 'navigation'],
46
48
),
47
49
newLiveDemo(
48
50
'live-memory',
@@ -54,6 +56,7 @@ public function findAll(): array
54
56
rich interactions and real-time updates. This journey will take you through many features of Live Components, and you'll
55
57
learn how to use them to create a fun and engaging game.
56
58
EOF,
59
+
tags: ['game', 'time', 'events','LiveAction'],
57
60
),
58
61
newLiveDemo(
59
62
'form-collection-type',
@@ -65,7 +68,8 @@ public function findAll(): array
65
68
writing zero JavaScript.
66
69
<br>
67
70
This demo shows off adding and removing items entirely in PHP & Twig.
68
-
EOF
71
+
EOF,
72
+
tags: ['form', 'collection'],
69
73
),
70
74
newLiveDemo(
71
75
'dependent-form-fields',
@@ -75,7 +79,8 @@ public function findAll(): array
75
79
longDescription: <<<EOF
76
80
Unleash the power of form events, thanks to <a href="/live-component"><code>LiveComponent</code></a>
77
81
and <a href="https://github.com/SymfonyCasts/dynamic-forms"><code>DynamicForms</code></a>.
78
-
EOF
82
+
EOF,
83
+
tags: ['form', 'field', 'events'],
79
84
),
80
85
newLiveDemo(
81
86
'voting',
@@ -86,7 +91,8 @@ public function findAll(): array
86
91
With each row as its own component, it's easy to add up & down voting + keep track of which items have been voted on.
87
92
<br>
88
93
This uses a <a href="https://symfony.com/bundles/ux-live-component/current/index.html#actions">LiveAction</a> to save everything with Ajax.
89
-
EOF
94
+
EOF,
95
+
tags: ['form', 'LiveAction'],
90
96
),
91
97
newLiveDemo(
92
98
'inline-edit',
@@ -96,7 +102,8 @@ public function findAll(): array
96
102
longDescription: <<<EOF
97
103
Inline editing? Simple. Use LiveComponents to track if you're in "edit" mode, let
98
104
the user update any fields on your entity, and save through a <code>LiveAction</code>.
99
-
EOF
105
+
EOF,
106
+
tags: ['form', 'inline', 'LiveAction'],
100
107
),
101
108
newLiveDemo(
102
109
'chartjs',
@@ -107,7 +114,8 @@ public function findAll(): array
107
114
What do you get with Live Components + UX Chart.js + UX Autocomplete?
0 commit comments