45 Posts
mato
7 years ago
6
Topic

Hi,

I have a bug with the field date when "write" is enabled.
When I go to second stage and get back to first, the month and the Day are inverted in the RW field... o.O

It doesn't happen when the field is "calendar-only".

Check for yourself on this page.

(RO is for calendar-only, RW is for write-enabled. I use this date format : d/m/Y)

Furthermore, native Seblod date validation can't be applied to any of the 2 fields, resulting in a red warning message whatever the input is.

Do I fill a bug in Github ?

-Mato

Get a VIP membership
4229 Posts
Kadministrator
7 years ago
2
Level 1

Hi,

your page currently doe not work on stage 2.

I tried to replicate this but it it working ok with seblod 3.10 - ho did you create back button?

41 Posts
mlep
7 years ago
1
Level 2

Hi Mato, Hi Klas

I have the same problem : when I write 10/08/2016 in the field it becomes 08/10/2016 or 08 octobre 2016 if d F Y is the selected format.

45 Posts
mato
7 years ago
0
Level 3

Glad not to be alone with this one !

I also see that when i use d-m-Y as date formatting, the problem disappears.

My guess : a / is not properly escaped in the regex... but I can't find it :/

45 Posts
mato
7 years ago
0
Level 1

I created an issue in Github, with test URL.

4229 Posts
Kadministrator
7 years ago
0
Level 1

I amge a pull request to ix this, please test

https://github.com/Octopoos/SEBLOD/pull/199

45 Posts
mato
7 years ago
0
Level 1

Hi, the bug has disappeared with PR #199.

I mark the thread as solved.

Get a VIP membership