Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Field of type table_name with None option

Dominik Simunek
Tera Guru

Hi all developers,

I want to have table_name field with base_table set to a table (e.g. task) so that you can select only tables inheriting base table however I want to still include -- None -- option as it is in e.g. Business Rules. The issue is that I found no attribute working for that so far and once I specify base_table=task in dictionary, the -- None -- option is gone. I have found two places in the platform where "includeNone" attribute is used for table_name field but it does not look working and it is not documented.

Do you have other idea, how to show -- None -- option in the same way as when the base table is not restricted?

Best regards,

Dominik

1 ACCEPTED SOLUTION

Stefan Baldhof1
Kilo Guru

Hi Dominik,



in addition to the "base_table" attribute just choose "Dropdown with -- None --" from the "Choice List Specification" as shown in the screenshot.


dropdown_with_none.png



Regards,


Stefan


View solution in original post

5 REPLIES 5

Dominik,   A similar suggestion was provided earlier though