departement-maine-et-loire / transferticketentity

GNU General Public License v3.0
10 stars 0 forks source link

Improvement - Justification required option #24

Closed andrepetinga closed 6 months ago

andrepetinga commented 6 months ago

Hello. Whether I choose "Justification Required" = Yes or No, when I try to transfer the ticket, it always asks me for a justification, with the "Please explain your transfer" textbox

image

In my point of view, if I select No, it shouldn't present me with this, right?

EDITED: Ok, my mistake... If No is selected, the field is presented, but not mandatory...

So my suggestion is to hide the textbox if No is selected.

YannickComba commented 6 months ago

Hello,

The justification, even if it's not mandatory, must be displayed by default. It is either obligatory (red border) or optional (blue border). During the next release of the plugin, the notion of optional will be indicated in the text displayed in the transfer window.

Regards.