Giter Club home page Giter Club logo

Comments (5)

dawe78 avatar dawe78 commented on May 30, 2024 1

@Fedik fix checked, works, thanks!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43303.

from joomla-cms.

dawe78 avatar dawe78 commented on May 30, 2024

I could not upload these files, so I put it here:

Main form:

<?xml version="1.0" encoding="UTF-8"?>
<form>
    <fieldset name="general">
        <field name="id" type="text" default="0" label="JGLOBAL_FIELD_ID_LABEL" required="true" readonly="true" class="readonly" />
        <field name="title"  type="text" required="true" label="Test" description=""/>
	<field name="subform" type="subform" clayout="joomla.form.field.subform.repeatable-table" formsource="path_to_subform/subform_test.xml" multiple="true" label="Subform" description="" />
    </fieldset>
</form>

Subform:

<?xml version="1.0" encoding="UTF-8"?>
<form>
    <fieldset name="general">
        <field name="id" type="text" default="0" label="JGLOBAL_FIELD_ID_LABEL" required="true" readonly="true" class="readonly" />
        <field name="listfield" layout="joomla.form.field.list-fancy-select" type="list" required="true" label="List" description="" multiple="1">
		<option value="1">option 1</option>
		<option value="2">option 2</option>
		<option value="3">option 3</option>
        </field>
        <field name="date_1" type="calendar" required="1" label="date 1" description=""/>
        <field name="date_2" type="calendar" required="1" label="date 2" description=""/>
    </fieldset>
</form>
```<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/43303">issues.joomla.org/tracker/joomla-cms/43303</a>.</sub>

from joomla-cms.

brianteeman avatar brianteeman commented on May 30, 2024

type="subform" clayout=

is that a typo?

from joomla-cms.

dawe78 avatar dawe78 commented on May 30, 2024

Edit: this issue seems to match only for table-subforms, layout joomla.form.field.subform.repeatable-table. If default layout is set (I disabled by adding c before layout as in above example) everything works fine.

So two edits for example:

from joomla-cms.

Fedik avatar Fedik commented on May 30, 2024

Ah, I get it, it nothing to do with subform.
It a bug in calendar field, the fix is there #43234
Please test it to be sure.

Thanks.

from joomla-cms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.