TexteaInc / funix

Building web apps without manually creating widgets
http://funix.io
MIT License
90 stars 10 forks source link

Support `bool` #4

Closed TURX closed 1 year ago

TURX commented 2 years ago

For a bool argument, there should be only True and False as acceptable values (or which is specified by possible which only accepts 1 or 2 values).

In the frontend, we can implement by checkbox, but readonly when there is only one possible value.

TURX commented 1 year ago

Completed in commit https://github.com/TexteaInc/PyDataFront/commit/dbd6dce65d9a4b15fc0acd5de306c4607bd34be8