Select not saving option

  • I have this piece of code in my template:

    HTML
    1. <perch:repeater id="timetable" label="Timetable">
    2. <perch:content id="start_day" type="select" label="From" options="Monday | Lunes, Tuesday | Martes, Wednesday | Miércoles, Thursday | Jueves, Friday | Viernes, Saturday | Sábado, Sunday | Domingo" required>
    3. <perch:content id="end_day" type="select" label="To" options="Monday | Lunes, Tuesday | Martes, Wednesday | Miércoles, Thursday | Jueves, Friday | Viernes, Saturday | Sábado, Sunday | Domingo" allowempty>
    4. <perch:content id="open_hours" type="text" label="Opening time" required help="Use 24h format (8:00, 22:00, etc) and separate each period with '|'">
    5. </perch:repeater>

    When I edit the content everything works fine, the values set in both selects are stored correctly. The problem is when I go back to the edit page, the first select is set to Monday and the second one is empty. If I save now, they are saved with these default values.

    This template is being imported into another one, I don’t know if it has something to do with it. Am I doing something wrong?


    Thank you in advance