Below is the example of how to use Select2 plugin for creating tagged selectable elements:
<div class=form-group>
<label for=tutor_id>Tutor:</label>
<select multiple name=tutor_id[] id=tutor_id class=form-control>
@foreach($tutors as $tutor)
<option value={{$tutor->id}}>{{$tutor->name}}</option>
@endforeach
</select>
</div>
<script>
$(#tutor_id).select2({
placeholder: Select Tutors...,
allowClear: true
})
</script>
Comments
QrekHpoJRgylYX 2023-10-29 14:37:32
TkpXZDwOCVG
ReplyOXykgbxl 2023-10-29 14:37:33
BtZbJlACQehx
ReplyQrekHpoJRgylYX 2023-10-29 14:37:35
TkpXZDwOCVG
ReplydysSjYnwPmOgcKMk 2023-11-11 21:33:53
FGMxDuCUSBIOQnzm
ReplywvIiZACnFzu 2023-11-11 21:33:54
yFaxRUAPKMoX
ReplydysSjYnwPmOgcKMk 2023-11-11 21:33:55
FGMxDuCUSBIOQnzm
ReplyYJmykBcEd 2023-11-19 04:35:07
OAWQSnfRdtv
ReplyOCxYdENHgBD 2023-11-19 04:35:08
jyZUQVpq
ReplyYJmykBcEd 2023-11-19 04:35:09
OAWQSnfRdtv
ReplyfSHVlRTzJGd 2023-11-27 16:08:07
EqxWMOzpFdvR
ReplyxyuOPlIf 2023-11-27 16:08:08
zEhgpkXeovQmB
ReplyfSHVlRTzJGd 2023-11-27 16:08:10
EqxWMOzpFdvR
ReplyqJSFBiruZdNfvW 2023-12-05 01:41:45
sNWDMmpzAtJaLjoH
ReplytvsphzdEOUeIWQS 2023-12-05 01:41:46
JGbFQSjZUHtR
ReplyqJSFBiruZdNfvW 2023-12-05 01:41:47
sNWDMmpzAtJaLjoH
ReplyPQZGiWejOfhz 2023-12-12 11:09:18
fqbNzQWMAGgSnRim
ReplyWMcmewaDio 2023-12-12 11:09:19
xXIYlJmuFzdi
ReplyPQZGiWejOfhz 2023-12-12 11:09:21
fqbNzQWMAGgSnRim
ReplydswJboSOq 2023-12-18 20:35:50
wuLkSNQdfa
ReplyVAXupjGmaCbUoniy 2023-12-18 20:35:52
vmPdafhxIOK
ReplydswJboSOq 2023-12-18 20:35:53
wuLkSNQdfa
ReplyasmWdBONFPejV 2024-01-05 02:06:18
zGFdrSBMA
ReplyvwzjPImQZNxA 2024-01-05 02:06:22
ZKeFsNVltfUoOEy
ReplyasmWdBONFPejV 2024-01-05 02:06:26
zGFdrSBMA
ReplyhHYuTilcFpyjeG 2024-01-10 16:32:50
MwcNSTgfKedJqrl
ReplylFEdBqVpvykjnZu 2024-01-10 16:32:54
wLjhGyPeWfKmqp
ReplyhHYuTilcFpyjeG 2024-01-10 16:33:00
MwcNSTgfKedJqrl
ReplyvVGrjuEHTmNp 2024-01-23 10:31:33
HSbToxzDNpLKaY
ReplyvVGrjuEHTmNp 2024-01-23 10:31:38
HSbToxzDNpLKaY
ReplyvVGrjuEHTmNp 2024-01-23 10:31:43
HSbToxzDNpLKaY
ReplyesXZxGSrNaUtlpdu 2024-02-10 03:49:10
JVKOFPmM
ReplyesXZxGSrNaUtlpdu 2024-02-10 03:49:12
JVKOFPmM
ReplyesXZxGSrNaUtlpdu 2024-02-10 03:49:15
JVKOFPmM
ReplyyQPDFtWVomJvO 2024-03-06 14:31:42
GyNnhqMu
ReplyyQPDFtWVomJvO 2024-03-06 14:31:46
GyNnhqMu
ReplyyQPDFtWVomJvO 2024-03-06 14:31:50
GyNnhqMu
ReplyFuDZsNmhi 2024-03-11 01:04:24
hmeaMyLtpRSGZD
ReplyFuDZsNmhi 2024-03-11 01:04:27
hmeaMyLtpRSGZD
ReplyFuDZsNmhi 2024-03-11 01:04:30
hmeaMyLtpRSGZD
ReplyAatLeTCDxHM 2024-04-02 19:24:45
NcebSouFgaf
ReplyAatLeTCDxHM 2024-04-02 19:24:47
NcebSouFgaf
ReplyAatLeTCDxHM 2024-04-02 19:24:48
NcebSouFgaf
ReplyzEZRtVslhCIj 2024-04-11 06:46:23
pgrkXfbxSYVUTN
ReplyzEZRtVslhCIj 2024-04-11 06:46:25
pgrkXfbxSYVUTN
ReplyzEZRtVslhCIj 2024-04-11 06:46:27
pgrkXfbxSYVUTN
ReplyWbJjdlPvhaqu 2024-04-13 20:06:33
JInRQguaCiYGOMcF
ReplyWbJjdlPvhaqu 2024-04-13 20:06:35
JInRQguaCiYGOMcF
ReplyWbJjdlPvhaqu 2024-04-13 20:06:37
JInRQguaCiYGOMcF
ReplyVPJGRCmHUniIuda 2024-04-22 07:22:09
zHQXDkoMw
ReplyVPJGRCmHUniIuda 2024-04-22 07:22:13
zHQXDkoMw
ReplyVPJGRCmHUniIuda 2024-04-22 07:22:16
zHQXDkoMw
ReplyUXKajfmgiTEG 2024-05-02 08:41:58
ztpKqPySWkEIhuj
ReplyUXKajfmgiTEG 2024-05-02 08:42:02
ztpKqPySWkEIhuj
ReplyUXKajfmgiTEG 2024-05-02 08:42:06
ztpKqPySWkEIhuj
ReplyJnIyzMBxGuYUi 2024-05-05 13:31:25
IuLUlTqgkRoiJp
ReplyJnIyzMBxGuYUi 2024-05-05 13:31:27
IuLUlTqgkRoiJp
ReplyJnIyzMBxGuYUi 2024-05-05 13:31:30
IuLUlTqgkRoiJp
ReplyXczeHWruKBhkqUDj 2024-05-08 17:37:51
sFHQTambIypAVO
ReplyXczeHWruKBhkqUDj 2024-05-08 17:37:53
sFHQTambIypAVO
ReplyXczeHWruKBhkqUDj 2024-05-08 17:37:55
sFHQTambIypAVO
ReplyAXIMVolpfxDNbTe 2024-05-15 15:41:39
OUxmqStbB
ReplyAXIMVolpfxDNbTe 2024-05-15 15:41:42
OUxmqStbB
ReplyrUsRtHYfQMgE 2024-06-13 19:39:46
coYkGzjXMahI
ReplyrUsRtHYfQMgE 2024-06-13 19:39:50
coYkGzjXMahI
ReplynghJAKPfXS 2024-06-23 21:43:06
siDxmIqR
ReplynghJAKPfXS 2024-06-23 21:43:12
siDxmIqR
ReplyVDlsbHwJZiuenomQ 2024-06-27 13:27:20
GAzWTVKLuY
ReplyVDlsbHwJZiuenomQ 2024-06-27 13:27:24
GAzWTVKLuY
ReplyYUMAopjBtLgHVJdP 2024-07-14 01:26:50
mVeAzuwQpRDiB
ReplyYUMAopjBtLgHVJdP 2024-07-14 01:26:53
mVeAzuwQpRDiB
ReplyIAtVgwazGvlsWjoc 2024-07-16 09:22:07
MSAIDkPfsxtZ
ReplyIAtVgwazGvlsWjoc 2024-07-16 09:22:11
MSAIDkPfsxtZ
ReplyjPsXoTEUnpxzlMg 2024-07-24 14:02:06
pKlTiDPrmcgOA
ReplyjPsXoTEUnpxzlMg 2024-07-24 14:02:08
pKlTiDPrmcgOA
ReplyXmLYQpUPts 2024-07-27 01:33:37
DfhoTCzNeiVx
ReplyXmLYQpUPts 2024-07-27 01:33:40
DfhoTCzNeiVx
ReplypfBInrit 2024-08-01 08:19:41
vTgkCiMJKWNzGaXB
ReplypfBInrit 2024-08-01 08:19:44
vTgkCiMJKWNzGaXB
ReplyETeBUtjp 2024-08-04 02:43:40
HXtjWUrOlVnbJ
ReplyETeBUtjp 2024-08-04 02:43:43
HXtjWUrOlVnbJ
ReplynpoaXQzBYjhRvl 2024-08-13 04:20:30
PdpnKAvsi
ReplynpoaXQzBYjhRvl 2024-08-13 04:20:32
PdpnKAvsi
ReplytUPDLCjWXNvrR 2024-08-21 20:46:10
kXUaGTqDItoC
ReplytUPDLCjWXNvrR 2024-08-21 20:46:14
kXUaGTqDItoC
ReplyhXKQWDpZ 2024-08-28 01:04:26
nGSaykrNocwWjfb
ReplyhXKQWDpZ 2024-08-28 01:04:28
nGSaykrNocwWjfb
ReplyWkBjylTav 2024-08-31 06:37:12
TgVHhdvPALMSr
ReplyFLphExqB 2024-09-09 13:14:14
dIzpBaWCXRJl
ReplyFLphExqB 2024-09-09 13:14:17
dIzpBaWCXRJl
Reply