Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no way to change the Submit/Cancel text on a ui-form without editing code #408

Closed
6 tasks
juggledad opened this issue Jun 22, 2018 · 9 comments
Closed
6 tasks

Comments

@juggledad
Copy link
Contributor

There is no way to change the Submit/Cancel text on a ui-form without editing the code in
.node-red/node_modules/node-red-dashboard/dist/js/app.min.js
and searching for
submit
and then you can change it.

What are the steps to reproduce?

There aren't any steps to reproduce, just add a form and look at it. this is 'missing functionalty'??

What happens?

The Submit/Cancel text is embedded in:
.node-red/node_modules/node-red-dashboard/dist/js/app.min.js so it always displays

What do you expect to happen?

It would be nice to have an option in the ui-form node to allow the user to enter what they want for the words 'Submit' and 'Cancel'

Please tell us about your environment:

  • Node-RED-Dashboard version: 2.9.4
  • Node-RED version: 0.18.7
  • node.js version: 8.9.4
  • npm version: 5.6.0
  • Platform/OS: osx
  • Browser: Any
@dceejay dceejay added this to Work in progress in Dashboard - Things to do Jun 23, 2018
@dceejay
Copy link
Member

dceejay commented Jun 23, 2018

Pushed to master for you to try ( cd ~/.node-red && npm i node-red/node-red-dashboard )

@juggledad
Copy link
Contributor Author

juggledad commented Jun 23, 2018

works like a charm! except you can't check the check box next to the labels.

@dceejay
Copy link
Member

dceejay commented Jun 23, 2018

what check box ?

@juggledad
Copy link
Contributor Author

juggledad commented Jun 23, 2018

oh wait...that is just an icon that looks like a check box...hmmm might want to use a different one.
just before the word Button

@dceejay
Copy link
Member

dceejay commented Jun 23, 2018

ah - was just trying to find one that looks like a button

image

@juggledad
Copy link
Contributor Author

juggledad commented Jun 23, 2018

Yeah I get that now, but I thought that was an option to turn on/off the option

@dceejay
Copy link
Member

dceejay commented Jun 23, 2018

better suggestions from fa-icons 4.7 welcome !

@juggledad
Copy link
Contributor Author

pencil-square?? and I have to go out to rescue my daughter-in-law...(sigh I just got home)

@juggledad
Copy link
Contributor Author

I think the 'square' instead of the 'square-o' would be better, at least it diesn't look like a check box.

None of the other fa-icon's reaches out to me to represent a button.

@dceejay dceejay moved this from Work in progress to Released to npm - 2.9.5 in Dashboard - Things to do Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants