21.16Class BaseInput

Base class for Input items with some common helpers.

Class BaseInput( type, at ) from \
                 BaseDom(( type, nil, at))
Methods
disabledHelper method to disable this input.
readonlyHelper method to set this field read-only.
Properties inherited from class BaseDom
childTypeList
children
eattr
hname
parent
profileMeta-profiles.
text
Methods inherited from class BaseDom
render
st_makesep

Methods

disabled

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()
         )

readonly

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()
         )
Made with http://www.falconpl.org