Skip to content

Commit

Permalink
reactSelect: CommonProps: add isOptionDisabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg committed Jun 11, 2020
1 parent c111b75 commit 4e11275
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ trait CommonProps[A] extends PropTypes with HasOpaqueReaderWriter[A] {
protected val _getOptionValue = new PropTypes.Prop[A => String]("getOptionValue")
val formatGroupLabel = of[OptGroup[A] => VdomNode]
val formatOptionLabel = of[A => VdomNode]
val isOptionDisabled = of[A => Boolean]
val filterOption = of[(FilterParam[A], String) => Boolean]
protected val _onInputChange =
new PropTypes.Prop[(String, InputActionMeta) => CallbackTo[js.UndefOr[Nothing]]]("onInputChange")
Expand Down

0 comments on commit 4e11275

Please sign in to comment.