headwirecom / jsonforms-react-spectrum-renderers

Other
8 stars 4 forks source link

Migrate enum renderer #27

Closed mburri closed 3 years ago

mburri commented 3 years ago

Migration of the Enum Renderer/ Control using the Picker component from react-spectrum. This also fixes issue #20

mburri commented 3 years ago

there seems to be an open bug in react-spectrum that affects the rule example: https://github.com/adobe/react-spectrum/issues/1213

mburri commented 3 years ago

There is one more problem:

If you select the 'foo' option in the "Array" example, the "Bound data" reflects the change, but the option is not selected in the UI:

image

This works in the Material example:

image

The value is set correctly - you just cannot see it due to #28

This will be resolved with #32

hupf commented 3 years ago

The value is set correctly - you just cannot see it due to #28

This will be resolved with #32

Yes indeed :+1: