1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Red button turns green in radio button

Discussion in 'Community' started by andre00silva, Jun 11, 2018.

Thread Status:
Not open for further replies.
  1. andre00silva

    andre00silva Member

    Level: Community
    Hello!
    In my list "Pedidos de Or?amento" (repeatable) I have an element (radio button) which has 2 values "Rejeitar" and "Aprovar". When I choose the "Rejeitar" button, it's background turns red and when I choose "Aprovar" it's background turns green. This is the normal behavior of a radio button element. Everything is fine except when I edit my registry again if the value chosen was "Rejeitar", the background starts red and then, all of a sudden, it turns green. Why is this happening?

    Edit:
    Now even when I create a new registry, it displays green all the time...
     
    Last edited: Jun 12, 2018
  2. andre00silva

    andre00silva Member

    Level: Community
    Meh, found the solution. In order to become red, it's value needs to be zero (0)^.
     
Thread Status:
Not open for further replies.

Share This Page