From b86d48add236918cf69f048285766d475ed975a9 Mon Sep 17 00:00:00 2001 From: Tiberiu Ichim Date: Thu, 9 Jan 2020 22:41:14 +0200 Subject: [PATCH] Also use provider_url in choice preset value --- src/Widget/ModalEditor.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Widget/ModalEditor.jsx b/src/Widget/ModalEditor.jsx index 76a93605..256443bf 100644 --- a/src/Widget/ModalEditor.jsx +++ b/src/Widget/ModalEditor.jsx @@ -61,6 +61,9 @@ class Edit extends Component { }; }); + // TODO: fingers cross that the Dropdown doesn't crash with a value not in + // choices + return (
{__CLIENT__ ? ( @@ -77,6 +80,7 @@ class Edit extends Component { provider_url: value, }) } + value={this.props.value?.url} />