Closed TURX closed 1 year 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).
bool
True
False
possible
In the frontend, we can implement by checkbox, but readonly when there is only one possible value.
readonly
Completed in commit https://github.com/TexteaInc/PyDataFront/commit/dbd6dce65d9a4b15fc0acd5de306c4607bd34be8
For a
bool
argument, there should be onlyTrue
andFalse
as acceptable values (or which is specified bypossible
which only accepts 1 or 2 values).In the frontend, we can implement by checkbox, but
readonly
when there is only one possible value.