Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Widget not validating on reload #18

Open
jlev opened this issue Nov 20, 2020 · 1 comment
Open

Widget not validating on reload #18

jlev opened this issue Nov 20, 2020 · 1 comment

Comments

@jlev
Copy link
Contributor

jlev commented Nov 20, 2020

Expected Behavior

After saving a valid YouTube url, and then reloading the netlify-cms admin page, I expect to see the thumbnail (or at least the url) in the field.

Actual Behavior

No url or thumbnail is shown in the field.

Steps to Reproduce the Problem

  1. Enter valid YouTube url in widget input
  2. Save entry
  3. Reload page
@jlev
Copy link
Contributor Author

jlev commented Nov 20, 2020

Attempted to address this in jlev@3308260 by loading state from value prop and triggering componentDidUpdate, but the url is still not appearing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant