Current Repeatable field have problem with storage format and force to use JSON ... also very tricky in logic
In my own work I use my own repeatable field, that have more clear logic to store the data, like:
array(
array(/*row 1 values*/),
array(/*row 2 values*/),
...
array(/*row N values*/)
)
Field values is sent to the server respectively to the fields hierarchy (groups) , and do not use hidden field with JSON value (as existing repeatable field). This is allow to handle the "repeatable value" as any other value from the form, in backend Model.
Also it do not use that tricky modal popup, and allow to use different layouts (table or simple div elements) to render the repeatable form. Only cons (but not really cons), it require external XML for subform.
So, question, whether will be interesting to anyone if I try adapt it to Joomla core (for 3.5)?
Then we could deprecate existing Repeatable field.
otherwise just close this issue
Labels |
Added:
?
?
|
Category | ⇒ | JavaScript |
This change would be awesome. I use the repeatable field quite a lot, and it really does suck :)
from me as well
to rework
very well, then I will prepare the pull request soon
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-09-06 11:37:08 |
Closed_By | ⇒ | Fedik |
I support this change. The actual repeatable is crappy.