-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
add a value to "Default" expiry #153
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
The default value is set through the Having two "defaults" is kinda confusing. On the one hand configuring the default expiry and then also configuring the default-frontend-expiry which is not the value of "Default Expiry" and also must match one of the software-defined choices not deriving by one second.
That's not that easy: How would you display In this case also the default value cannot be selected as it simply does not exist in the dropdown.
The default value is |
@Luzifer What would be the best approach to just display the value of default expiry or the related custom value if overwritten, in the frontend UI ? |
Well basically part of #161 - Just without the unrelated changes (see my last comment before closing the PR). Will have a look at this myself, just need to find the time. |
Yes, that's exactly what I was looking for. Appreciate the response. |
I suggest displaying the default expiry value as text next to the default button, or alternatively, preselecting the default value.
Based on my code analysis, the default value appears to be identical to the configured maximum value.
I implemented a frontend workaround that appends the text from the last element of the select list to the default label.
You can view the result in the following image:
Additionally, it might be beneficial to include an option in the specification for defining the default value. For instance, we could specify the shortest available period as the default while still allowing manual selection of longer expiry periods.
Please note that my current implementation is a temporary JavaScript solution, so no pull request is attached to this request. If time permits, I am considering submitting one in the future 😄.
The text was updated successfully, but these errors were encountered: