creecros / MetaMagik

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

Make Custom created field as Required"" field while creating tasks #50

Closed santhosh2kece closed 4 years ago

santhosh2kece commented 4 years ago

Hi,

I downloaded Metamagik plugin for creating custom fields and this plugin works, however there is an issue with the "required" fields for creating task.

While creating custom fields, there was a checkbox called "required" and I believe that if the custom fields are having the "required"check box checked, then it will become a mandatory field while creating a task. This mandatory field check doesn't work and we can create a task without filling an data in the custom fields Metamagik_Custom_field .

creecros commented 4 years ago

same issue as #45

creecros commented 4 years ago

Thanks, I'm aware. One of these days I'll look into a fix.

santhosh2kece commented 4 years ago

Thank you. Appreciate your response.

Markus- commented 3 years ago

Is there anything new. The * is shown for text fields, bit is not enforced. Is there any way to enforce required fields?

creecros commented 3 years ago

yes, there is a way. I just havent had the time to look into it. Last time I tried working on this, i spent over an hour and couldn't solve it, so, its just a matter of getting the time required.

creecros commented 3 years ago

@Markus-

Master is updated for testing. Let me know if you experiences any issues.

Markus- commented 3 years ago

Hopefully I can test this at the weekend. Have to finish this during the next 2-3 weeks, so good chances. I'll keep you informed.

Regards Markus

Markus- commented 3 years ago

I just downloaded the Code as zip and unzipped it under plugins. Code is in place, but it does not work as expected.

I thought, creating a new field (I tested a text field) and ticked the "required" box lead to following behavior

Regards Markus

creecros commented 3 years ago

just to confirm, you restarted your server? if you previously had metamgik installed, the original code could be cached.

Markus- commented 3 years ago

No of course not ;) After restarting it works as designed. Quickly tried to creating and changing a task with the text field and everything works now. Thanks.

Regards Markus

santhosh2kece commented 3 years ago

Thanks ceecros, it worked.