Content-Length: 221863 | pFad | http://github.com/sulu/sulu/issues/7637

9F Add possibility to validate "Start" "End" fields against each other in "Assign Time Schedule" block · Issue #7637 · sulu/sulu · GitHub
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

Add possibility to validate "Start" "End" fields against each other in "Assign Time Schedule" block #7637

Open
Xeo67 opened this issue Nov 4, 2024 · 1 comment
Labels
Feature New functionality not yet included in Sulu

Comments

@Xeo67
Copy link

Xeo67 commented Nov 4, 2024

Problem description

Currently, when you program a block for publication, you can set an end date earlier than the start date.

Proposed solution

Check the "End" field and trigger an error if it has a date before the start date

Screenshot at Nov 04 10-20-18

I'm on Sulu 2.6.5

@Xeo67 Xeo67 added the Feature New functionality not yet included in Sulu label Nov 4, 2024
@mamazu mamazu added Bug Error or unexpected behavior of already existing functionality and removed Feature New functionality not yet included in Sulu labels Nov 4, 2024
@alexander-schranz
Copy link
Member

This would may require a new field date date-range to support and validate the input against each other. Another possibility would be have a look how such validation can be achieved in json schema which is supported by Sulu frontend architecture. If you want to dive into let me know.

@alexander-schranz alexander-schranz added Feature New functionality not yet included in Sulu and removed Bug Error or unexpected behavior of already existing functionality labels Nov 20, 2024
@alexander-schranz alexander-schranz changed the title Error handling of the "Assign Time Schedule" block Add possibility to validate from to fields against each other in "Assign Time Schedule" block Nov 20, 2024
@alexander-schranz alexander-schranz changed the title Add possibility to validate from to fields against each other in "Assign Time Schedule" block Add possibility to validate "Start" "End" fields against each other in "Assign Time Schedule" block Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New functionality not yet included in Sulu
Projects
None yet
Development

No branches or pull requests

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/sulu/sulu/issues/7637

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy