Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
431 Zobrazení

No Selection field key but value get.

Avatar
Zrušit
Nejlepší odpověď

Hi,

You can use the code below to get the value of a selection field:


dict(self._fields['field_name'].selection).get(self.field_name)

Regards

Avatar
Zrušit
Autor Nejlepší odpověď

Ok, Thanks

Avatar
Zrušit