Added an optionsSettable flag to form types that have an options property
This commit is contained in:
parent
3ea9420479
commit
e862cb8303
15 changed files with 131 additions and 25 deletions
|
|
@ -67,6 +67,11 @@ A tooltip to tell the user what to do with the field. Defaults a standard piece
|
|||
|
||||
A text label that will be displayed if toHtmlWithWrapper() is called. Defaults to getName().
|
||||
|
||||
=head4 optionsSettable
|
||||
|
||||
A boolean indicating whether the options are settable using an options hashref or not settable because this form
|
||||
type generates its own options.
|
||||
|
||||
=cut
|
||||
|
||||
sub definition {
|
||||
|
|
@ -95,8 +100,11 @@ sub definition {
|
|||
},
|
||||
dbDataType => {
|
||||
defaultValue => "VARCHAR(22) BINARY",
|
||||
},
|
||||
});
|
||||
},
|
||||
optionsSettable=>{
|
||||
defaultValue=>0
|
||||
},
|
||||
});
|
||||
return $class->SUPER::definition($session, $definition);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue