Nebula icon indicating copy to clipboard operation
Nebula copied to clipboard

Form localstorage does not store select menus, checkboxes, or other input types

Open chrisblakley opened this issue 6 years ago • 5 comments

Checkboxes, selects, date, and other non-text input types are not captured by the Nebula localstorage function.

chrisblakley avatar Apr 16 '18 18:04 chrisblakley

Maybe its fine to ignore "acceptance" style checkboxes.

chrisblakley avatar Apr 16 '18 18:04 chrisblakley

I may table this issue in favor of upcoming KV Storage: https://github.com/chrisblakley/Nebula/issues/1832

chrisblakley avatar Mar 12 '19 19:03 chrisblakley

Looking into this. Is there a tricky reason you never added more input types?

patphg avatar Dec 08 '20 04:12 patphg

Not necessarily– just low priority as far as use cases go. They'll need their own event listeners and can't use the same "filler" as-is since it currently just works for strings.

An example edge-case: imagine a radio checkbox (either with 1 or multiple options). If we expand this to store the selected value, that may "soft lock" the user into not ever being able to de-select that input.

chrisblakley avatar Dec 08 '20 04:12 chrisblakley

https://github.com/chrisblakley/Nebula/pull/2098

patphg avatar Dec 16 '20 03:12 patphg