Михаил Капелько hace 4 meses
padre
commit
95f66ab82c
Se han modificado 1 ficheros con 9 adiciones y 7 borrados
  1. +9
    -7
      Modules/BusX/BusUI/src/BusUI.ManyTextField.swift

+ 9
- 7
Modules/BusX/BusUI/src/BusUI.ManyTextField.swift Ver fichero

@@ -34,14 +34,16 @@ extension BusUI {
textUI,
$v
.removeDuplicates()
.compactMap(onlyUIText)
.compactMap { v -> Any in
if let id {
var d = [String: String]()
d[id] = v
return MPAK.Many([id], d)
.compactMap { v in
guard
let id,
let text = onlyUIText(v)
else {
return nil
}
return v
var d = [String: String]()
d[id] = v
return MPAK.Many([id], d)
}
.eraseToAnyPublisher(),
&subscriptions


Cargando…
Cancelar
Guardar