Render a component within a Widget. (Using select-kit components within plugin code)

Sospetto che dovrai usare widget ‘state’ invece di accedere a this.chosen - le istanze dei widget sono di breve durata e ‘stateless’. Otterrai una nuova istanza ad ogni re-render, il che significa che this.chosen verrà resettato.

1 Mi Piace