PerformanceIMMO/elm-utils/2.3.1

NOTE: the latest version is 5.5.0

Renamed to SquirclesIO/elm-utils. It is published under that name, and new versions come out there.

Versions published as PerformanceIMMO/elm-utils still install under that name. 24 versions of 25 come from the new location (see their notes). 1 version could not be recovered and cannot be installed.

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/SquirclesIO/elm-utils.

What we checked: The repo moved to github.com/SquirclesIO/elm-utils. Rebuilt with git archive from commit 2ee5713a49d8 of https://github.com/SquirclesIO/elm-utils (zip prefix PerformanceIMMO-elm-utils-2ee5713/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 d74f68aa40792882a21f954f0552c6157abe3710.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/PerformanceIMMO/elm-utils/zipball/2.3.1/

Perfimmo.Form.FormField.FormDatalist

Entité représentant une datalist dans un formulaire marche avec la fonction datalistForm. La spécificité de la datalist c'est qu'elle retourne la valeur affichée alors qu'un select retourne l'identifiant associé à la valeur.

FormDatalist

type ValueState a
= ChosenItem a
| InputSearch String

indique le statut de la saisie :

  • ChosenItem -> j'ai cliqué sur une valeur de la liste déroulante
  • InputSearch -> je suis en train de tapé ma recherche pour trouver la bonne valeur
List String
-> List FormFieldInfo
-> FromStringBuilder a
-> ToString a

init

setValue

setValueFromS

getValue

getSelectValues : FormDatalist a -> ( Maybe (ValueState String), List String )

getSelectValues

getStringValue : FormDatalist a -> Maybe String

getStringValue

getInfos