Git Product home page Git Product logo

Comments (9)

Chive avatar Chive commented on July 24, 2024

Reopened due to 3231d76

from aldryn-forms.

 avatar commented on July 24, 2024

Is that means that we can place field under form but in several levels of containers?

from aldryn-forms.

czpython avatar czpython commented on July 24, 2024

Yes. This doesn't mean that fields can't have multicolumn or other plugins as parents, this means that fields should always be descendants of the form plugin, doesn't matter where in the tree.

from aldryn-forms.

 avatar commented on July 24, 2024

Thanks for your answer. Good to know

from aldryn-forms.

treavis avatar treavis commented on July 24, 2024

Could this be reverted to 467adbd commit, because it causes more problems than it solves? If you, by accident, place form field outside the form plugin (which is now possible), it causes database error.

from aldryn-forms.

czpython avatar czpython commented on July 24, 2024

Reverting to that commit would be a major backwards incompatible change and not really aligned with the design of this app. There are more occurrences of users adding non-field plugins under the form than users adding the form fields accidentally outside the form.

from aldryn-forms.

treavis avatar treavis commented on July 24, 2024

Ok. Good to know. I'll keep using my fork. Just asked because this actually happened, and it could only be fixed by manually removing entries from database.

from aldryn-forms.

czpython avatar czpython commented on July 24, 2024

On cms 3.5 we're introducing the ?structure GET parameter which is for structure-only view, hopefully this makes it easier to correct these issues without having to do so manually on the db.

from aldryn-forms.

zbohm avatar zbohm commented on July 24, 2024

I am afraid that idea of placing field only under some form plugin is not good. There may be cases where the user wants to place the field outside the form. And input outside form is perfectly html valid code.

https://validator.w3.org/:

<!doctype html>
<html lang="en">
<head>
    <title>Title</title>
</head>
<body>
   <input>
</body>
</html>

from aldryn-forms.

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.