creecros / MetaMagik

Custom Fields for Kanboard - Plugin MetaMagik
MIT License
98 stars 16 forks source link

Add more types like Boolean to incorporate checkbox, $ to present integers as $ #6

Closed creecros closed 6 years ago

creecros commented 6 years ago

started adding types: text radio group dropdown list checkboxes

Need to add: checkbox radio

bugged: checkboxes - stores an array of options, so i need to account for that.

TheCloud commented 6 years ago

You may consider the [] notation of php:

Adding more metadata fields with same name and square braces you basically push the serialised thing away, no need of specific UI

if type is then radio/check/select or any other multiple field, then it works

Problem might be on field laboes. A part of that I can record a video of my screen to show how osTicket works on this..

Il giorno gio 13 set 2018 alle 05:48 creecros notifications@github.com ha scritto:

started adding types: text radio group dropdown list checkboxes

Need to add: checkbox radio

bugged: checkboxes - stores an array of options, so i need to account for that.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/creecros/MetaMagik/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH4iota2gi6E8-qcfOHYWvGazxTmzuLks5uadWBgaJpZM4Wmhty .

--

Julien Buratto Amministratore Linkas Srl p: +390230321419 m: +393356359515 f: +390240700321 a: Via Cartesio 2 20124 - Milan (MI) w: www.linkas.it e: julien@linkas.it http://julien.burat.to/

creecros commented 6 years ago

Didn't know you could do that. I'll play around with later today and see if that solves it. It was the last thing I did last night, haven't even tried to problem solve it yet.

creecros commented 6 years ago

k, worked it out....when you start to see variables with $wtf, you know im getting frustrated.

TheCloud commented 6 years ago

Ahah

Il giorno gio 13 set 2018 alle 20:53 creecros notifications@github.com ha scritto:

k, worked it out....when you start to see variables with $wtf, you know im getting frustrated.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/creecros/MetaMagik/issues/6#issuecomment-421113763, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH4ihqH3sh2h9n81liiCM0WPRBvYJAbks5uaqmWgaJpZM4Wmhty .

--

Julien Buratto Amministratore Linkas Srl p: +390230321419 m: +393356359515 f: +390240700321 a: Via Cartesio 2 20124 - Milan (MI) w: www.linkas.it e: julien@linkas.it http://julien.burat.to/

creecros commented 6 years ago

works flawlessly now in both create and modify.