Forum

[SOLVED] Customized...
 
Notifications
Retirer tout

[SOLVED] Customized screen - boolean field

4 Posts
2 Utilisateurs
0 Reactions
1,663 Vu
(@amaz)
Posts: 36
Trusted Member
Début du sujet
 
[#9438]

Hello,

I have an issue with a personnalized field added on "Ticket" screen with the dedicated plug-in.
When I add this field, of boolean type, with nothing in "default value", it works, we can use it and modify it without any problem.

But when I add "on" in the default value, the field cannot be modified :
By default, it is "on" when creating the ticket : ok.
And when I manually modify this value,  and save, then reload the ticket, it is always "on".

Thanks for your help,

Regards,

AMAZ


 
Posté : 25/04/2024 6:48 pm
jmmbb
(@jmmbb)
Posts: 561
Noble Member
 

Hello,

for boolean field, set boolean value :
1 for "on"
0 for "Off"

Regards


 
Posté : 25/04/2024 8:20 pm
(@amaz)
Posts: 36
Trusted Member
Début du sujet
 

Hello,

Thank you for your answer, but "1" or "0" does not work. The system only accepts "on" and "off"...

 


 
Posté : 26/04/2024 1:04 pm
jmmbb
(@jmmbb)
Posts: 561
Noble Member
 

Exact, sorry for the wrong response.
I confirm, creating boolean field, set default value to "on".
When creating new project, value is set but changing as no effect (on screen seems to be chaged but saving and reloading screen let see that value remains "on").
Idem for item created before modifying of screen.


 
Posté : 28/04/2024 10:31 pm
Share:
Retour en haut