Giter Site home page Giter Site logo

An easy way to add validators about vaadin-core HOT 3 CLOSED

Artur- avatar Artur- commented on August 14, 2024 1
An easy way to add validators

from vaadin-core.

Comments (3)

web-padawan avatar web-padawan commented on August 14, 2024

Moved the issue to vaadin-core and labelled with "next" to research for the next generation.

We can use Lion web components validate package for some inspiration.

from vaadin-core.

Legioth avatar Legioth commented on August 14, 2024

One fundamental question is whether it's the field itself or an external "form controller" who is responsible for managing the field's validation status.

In the case of components controlled from server-side Java, the status is controlled by an external entity and any built-in validation logic is only getting in the way. The same is often also the case if you try to use 3rd party form binding libraries such as Final Form. What such solutions usually need is some way of disabling internal validation and only controlling the visual appearance (i.e. whether a required indicator is displayed and whether and error message is displayed).

from vaadin-core.

web-padawan avatar web-padawan commented on August 14, 2024

Closing in favor of vaadin/web-components#81, let's continue discussion there.

from vaadin-core.

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.