benkeen / generatedata

A powerful, feature-rich, random test data generator.
https://generatedata.com
2.21k stars 610 forks source link

List Data Type: select all / copy specific items #727

Open benkeen opened 2 years ago

benkeen commented 2 years ago

React-select is really nice. It lets you visualize the different options, delete specific ones cleanly. But previously it was just a simple text field where you enter a string separated by a pipe char. This let you copy and paste the whole thing using standard keyboard + mouse actions. The current react-select field doesn't allow that. Reading up on this issue with react-select seems like there really isn't any decent alternative beyond adding in a "select all" button. That feels klutzy.

One possible option would be to simply have a setting allowing the user to use a plain text field... or maybe that option should be on the user setting level to control all fields.

Think!

benkeen commented 2 years ago

Beyond a user setting like [ x ] use plain text fields instead of pill fields I don't see a solution to this. It'd have to be for logged in users too which is a shame.