udash-core icon indicating copy to clipboard operation
udash-core copied to clipboard

Failing test: trigger updates correctly when subprop is initialized with null

Open ddworak opened this issue 4 years ago • 3 comments

https://github.com/UdashFramework/udash-core/commit/2f671cfa7bcad8150ee9f7517e3027d51fb3ea74

ddworak avatar Oct 02 '20 06:10 ddworak

Related #664, verify FileInput.single usage

ddworak avatar Oct 02 '20 09:10 ddworak

@ddworak from my point of view FileInput.single should be implemented as

  def single(selectedFile: Property[Option[File]])(inputName: String, inputModifiers: Modifier*): InputBinding[JSInput] = {
    apply(selectedFile.bitransformToSeq(_.toSeq)(_.headOption), false.toProperty)(inputName, inputModifiers)
  }

anyway, I can miss some way to use it

catap avatar Oct 02 '20 09:10 catap

Sure, single should be fixed in the long run - I was just suggesting a workaround.

ddworak avatar Oct 02 '20 09:10 ddworak