Giter VIP home page Giter VIP logo

Comments (5)

cedric-g avatar cedric-g commented on August 16, 2024

Hi,
I 'm not sure to understand, in the title you say "results in two form labels" and in the description "this results in two fields".

If you use 'condition_pattern' => FilterOperands::OPERAND_SELECTOR, this will display a combox in addition to the input text, but only the label of the input text should appear.

from lexikformfilterbundle.

rvanlaak avatar rvanlaak commented on August 16, 2024

Knipsel

Well, the operand has as a result over here that there are two label elements. Take a look at the screenshot, I've also added the DOM and added some numbers ;-)

from lexikformfilterbundle.

cedric-g avatar cedric-g commented on August 16, 2024

Ok, so "2" + "3" is the normal display but "1" should not appear :(

Which version of Symfony are you using ? I'll check if I get the same error.

from lexikformfilterbundle.

rvanlaak avatar rvanlaak commented on August 16, 2024

Sf 2.1.9-DEV, as you can see in the screenshot 👍

from lexikformfilterbundle.

cedric-g avatar cedric-g commented on August 16, 2024

I get the same error, this also happen with SF 2.2, I fixed the twig blocks for the filter_text and filter_number.
In form_div_layout.html.twig the twig blocks I defined aim to display the widget part, but the label was also display which is wrong as the bock is only about the widget.

from lexikformfilterbundle.

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.