Base class for Input items with some common helpers.
Class BaseInput( type, at ) from \
BaseDom(( type, nil, at))
| Methods | |
| disabled | Helper method to disable this input. |
| readonly | Helper method to set this field read-only. |
| Properties inherited from class BaseDom | |
| childTypeList | |
| children | |
| eattr | |
| hname | |
| parent | |
| profile | Meta-profiles. |
| text | |
| Methods inherited from class BaseDom | |
| render | |
| st_makesep | |
Helper method to disable this input.
disabled()
Return the self object so it's possible to do
s = Form("manage.ftd").add(
Input( "text", "the_field" ).disabled()
)
Helper method to set this field read-only.
readonly()
Return the self object so it's possible to do
s = Form("manage.ftd").add(
Input( "text", "the_field" ).readonly()
)