Skip to content

Commit 8708625

Browse files
committed
changed description and added gif file
1 parent cdacef4 commit 8708625

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/_images/sort-relationship.gif

126 KB
Loading

docs/channels/channel-form/fields.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ For relationship fields that allow multiple selections, you may also set the reo
140140
</ul>
141141
{/exp:channel:entries}
142142

143-
You need add SortableJs and a bit of Javascript code:
143+
You would need a bit of Javascript code (the example below is using SortableJs library):
144144

145145
<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
146146
<script>
@@ -173,6 +173,8 @@ Add CSS:
173173
}
174174
</style>
175175

176+
![Relationship fields](_images/sort-relationship.gif)
177+
176178
### Select field
177179

178180
<select name="my_field_name" id="my_field_name">

0 commit comments

Comments
 (0)