Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin video field doesn't remember selected value #6453

Closed
kontrollanten opened this issue Jun 23, 2024 · 2 comments
Closed

Plugin video field doesn't remember selected value #6453

kontrollanten opened this issue Jun 23, 2024 · 2 comments
Labels
Status: Waiting for answer Waiting issue author answer

Comments

@kontrollanten
Copy link
Contributor

Describe the current behavior

When using registerVideoField to create a video field, the form won't select the current value.

Steps to reproduce

  1. Install peertube-plugin-premium-users
  2. Choose a video to edit and mark it as "Premium content"
  3. Go back to the Update page, and then "Non-premium content" is selected.

Describe the expected behavior

No response

Additional information

  • PeerTube instance:

    • URL:
    • Version: 6.1.0
    • NodeJS version:
    • Ffmpeg version:
  • Browser name, version and platforms on which you could reproduce the bug:

  • Link to browser console log if relevant:

  • Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/):

@Chocobozzz
Copy link
Owner

Hi,

Do you store and restore the value of the field in the storage manager? (see https://docs.joinpeertube.org/contribute/plugins#add-custom-fields-to-video-form)

@Chocobozzz Chocobozzz added the Status: Waiting for answer Waiting issue author answer label Jun 24, 2024
@kontrollanten
Copy link
Contributor Author

Ah, sorry. I didn't see that info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Waiting for answer Waiting issue author answer
Projects
None yet
Development

No branches or pull requests

2 participants