fix radio buttons

pull/2030/head
filip mertens 3 years ago
parent d1c577fc15
commit cd0b14b8c3
  1. 4
      libs/remix-ui/plugin-manager/src/lib/components/LocalPluginForm.tsx

@ -191,7 +191,7 @@ function LocalPluginForm ({ closeModal, visible, pluginManager }: LocalPluginFor
type="radio" type="radio"
name="location" name="location"
value="sidePanel" value="sidePanel"
id="sidePanel" id="none"
data-id='localPluginRadioButtonsidePanel' data-id='localPluginRadioButtonsidePanel'
checked={location === 'sidePanel'} checked={location === 'sidePanel'}
onChange={(e) => setLocation(e.target.value as 'sidePanel' | 'mainPanel' | 'none')} /> onChange={(e) => setLocation(e.target.value as 'sidePanel' | 'mainPanel' | 'none')} />
@ -203,7 +203,7 @@ function LocalPluginForm ({ closeModal, visible, pluginManager }: LocalPluginFor
type="radio" type="radio"
name="location" name="location"
value="mainPanel" value="mainPanel"
id="mainPanel" id="none"
data-id='localPluginRadioButtonmainPanel' data-id='localPluginRadioButtonmainPanel'
checked={location === 'mainPanel'} checked={location === 'mainPanel'}
onChange={(e) => setLocation(e.target.value as 'sidePanel' | 'mainPanel' | 'none')} /> onChange={(e) => setLocation(e.target.value as 'sidePanel' | 'mainPanel' | 'none')} />

Loading…
Cancel
Save