Merge pull request #997 from 0xbsec/996.dropdown.required

#996 add required attribute to DropdownProps interface
old
Javi Velasco 2016-11-25 19:55:09 +01:00 committed by GitHub
commit c5e55bb4d7
1 changed files with 4 additions and 0 deletions

View File

@ -108,6 +108,10 @@ interface DropdownProps extends ReactToolbox.Props {
* Default value using JSON data.
*/
value?: string | number;
/**
* If true, the dropdown has a required attribute.
*/
required?: boolean;
}
export class Dropdown extends React.Component<DropdownProps, {}> { }