GEOLYTIX / xyz

An open source javascript framework for spatial data and application interfaces.
MIT License
87 stars 25 forks source link

array input element [mapp.ui.elements.arrayInput()] #1259

Closed dbauszus-glx closed 4 months ago

dbauszus-glx commented 4 months ago

We like to create an input element for arrays. It must be possible to parse the input.

On input (eg. return key, or confirm button inside the input) the input value will be parsed and added to an array.

The array values should be displayed as 'pill' elements below the input. It must be possible to delete individual pill elements.

image

mapp.ui.elements.arrayInput

dbauszus-glx commented 4 months ago

I've created this drag order for a pill control before. https://codepen.io/dbauszus-glx/pen/yLKVZLY