Giter Site home page Giter Site logo

Comments (4)

joepavitt avatar joepavitt commented on August 20, 2024

If I recall, @colinl had opinions on this at some point, as we implemented it as you've described. I'm open to a change to still emit if no value though, especially since we've added control over when the events are emitted (on blur, etc), the user has more control

from node-red-dashboard.

colinl avatar colinl commented on August 20, 2024

I don't think I would have suggested that there should be no output if the text is cleared. Not intentionally at least.

from node-red-dashboard.

joepavitt avatar joepavitt commented on August 20, 2024

Then I misremembered, and will fix the issue as requested 😊

If msg on blur is emitted, then this does mean that if you tab through some inputs, you will have blank msg.payload emissions.

Also checking with @thebaldgeek as I know he works with this widget a lot too

from node-red-dashboard.

SandeepAgarwal13 avatar SandeepAgarwal13 commented on August 20, 2024

Once user add a value and event got generated - it would get used in a flow.
Then user decided to delete this value - the backend editor would have no ways to know that now the value is empty.
We may not be able to do validations that user did not input a value - as editor has no event to work on.

from node-red-dashboard.

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.