From 4e11275445a33c78255b884751a4f801a91d371a Mon Sep 17 00:00:00 2001 From: Naftoli Gugenheim Date: Thu, 11 Jun 2020 01:55:56 -0400 Subject: [PATCH] reactSelect: CommonProps: add isOptionDisabled --- .../scala/io/github/nafg/scalajs/facades/reactselect/props.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/reactSelect/src/main/scala/io/github/nafg/scalajs/facades/reactselect/props.scala b/reactSelect/src/main/scala/io/github/nafg/scalajs/facades/reactselect/props.scala index e2545f2..b496626 100644 --- a/reactSelect/src/main/scala/io/github/nafg/scalajs/facades/reactselect/props.scala +++ b/reactSelect/src/main/scala/io/github/nafg/scalajs/facades/reactselect/props.scala @@ -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")