Nick O'Leary
9fd4989142
Fix autocomplete entry for responseUrl
...
Fixes #3883
2022-09-15 21:22:55 +01:00
Nick O'Leary
39b2fe45a5
Ensure all typedInput buttons have button type set
...
Fixes #3780
Otherwise they act as type="submit" and the browser will click on them
when enter is pressed in an input
2022-07-20 11:11:44 +01:00
Mauricio Bonani
7955a17a17
Fix typedInput label not visible
2022-05-04 06:37:52 -04:00
Nick O'Leary
dc03d0b300
Merge pull request #3553 from Steve-Mcl/code-edit-ux-improvements
...
Code editor ux improvements around remembering state of each code editor in a flow
2022-04-27 14:35:43 +01:00
Steve-Mcl
194eb4e266
code editor ux improvements
...
* Save and restore editor selection(s), cursor(s), scroll pos etc
* Improve focusing of editor at appropriate times
* Works with both ace and monaco
* Backwards compatible and (almost) fully functional with existing nodes
2022-04-27 11:23:13 +01:00
Nick O'Leary
f8d0ed7ca6
Merge pull request #3515 from bonanitech/svg-icons
...
Make it easier to apply themes on SVG icons
2022-04-26 16:22:47 +01:00
Steve-Mcl
475113838a
autocomplete improvements...
...
* add minInput - fixes #3479
* Add missing entries for catch, status, tcp, udp, websocket
* corrections for http request
* match visibility improvements (mono font + match color)
* match to variable source as well as variable name
2022-04-05 14:00:14 +01:00
Mauricio Bonani
c9fa5c7284
Make typedInput themeable
2022-04-03 18:11:24 -04:00
Nick O'Leary
fba6e801fc
Avoid redundant initialisation of TypedInput type
2021-11-16 14:32:09 +00:00
Nick O'Leary
ba83be9062
Handle changing types of TypedInput repeatedly
...
Fixes #3222
2021-10-25 13:54:42 +01:00
Nick O'Leary
ecfd61a822
Fix TypedInput initialisation handle
2021-10-24 22:53:22 +01:00
Nick O'Leary
2b220abdb7
Fix issue with old inject nodes that migrated topic to 'string' type
2021-10-22 09:01:24 +01:00
Nick O'Leary
d695cf392e
Fix TypedInput validation of type without options
...
Fixes #3206
2021-10-21 14:44:15 +01:00
Nick O'Leary
0cc061196d
Handle changing value before type without reseting TypedInput
2021-10-19 10:11:37 +01:00
Nick O'Leary
42d90542b5
Merge pull request #3171 from node-red/auto-complete
...
Add autoComplete widget and add to TypedInput for msg. props
2021-10-06 11:40:20 +01:00
Nick O'Leary
421d155586
Add some docs to autoComplete widget
2021-10-05 20:41:21 +01:00
Nick O'Leary
7f9e318214
Add autoComplete widget and add to TypedInput for msg. props
2021-10-05 17:59:44 +01:00
Nick O'Leary
6c96cde73c
Copy previous rule type when adding rule to switch node
2021-10-05 10:34:46 +01:00
Nick O'Leary
8a5eda9c1f
Ensure type select button is not focussable when TypedInput only has one type
2021-10-02 23:25:56 +01:00
Nick O'Leary
ac84b6fe3f
Do better remembering TypedInput values whilst switching types
2021-09-30 18:14:45 +01:00
Nick O'Leary
1d12017f11
Sort context stores in TypedInput and ensure default first
...
Fixes #2954
2021-04-26 10:13:57 +01:00
Nick O'Leary
23a5cb1917
Ensure typedInput option is selected in dropdown menu
...
Part of #2945
2021-04-20 23:39:21 +01:00
Nick O'Leary
f8d5fef3c4
Ensure typedInput without value has focus class removed
...
Closes #2945
2021-04-20 23:25:56 +01:00
Nick O'Leary
9eb668ab30
Prevent TypedInput label overflowing element
...
Also adds title attribute to the button for the label so it gets a tooltip
2021-04-19 15:28:17 +01:00
Nick O'Leary
233a74c146
Remove TypedInput from tab focus when only one type available
2021-04-19 15:27:47 +01:00
Nick O'Leary
3f43dc1855
Fix jshint error
2021-04-19 10:43:01 +01:00
Nick O'Leary
4a4e7fc7cb
Make typedInput.disable more consistent in behaviour
...
Fixes #2942
2021-04-19 10:39:58 +01:00
Nick O'Leary
f7a6a333e1
Show context store name on TypedInput flow/global types
...
Fixes #2793
2021-03-10 17:51:20 +00:00
Nick O'Leary
c37ea90206
Remember TypedInput selected sub option when switching types
...
Fixes #2896
2021-03-10 17:50:46 +00:00
Nick O'Leary
3d23d1de4f
Merge pull request #2873 from node-red/function-modules
...
Function node external modules
2021-03-01 21:35:31 +00:00
Nick O'Leary
5f8804c25c
Ensure TypedInput Change event is passed type/value properties
...
Fixes #2883
2021-02-25 13:03:31 +00:00
Nick O'Leary
785c349adc
Prevent function module overwriting built-in sandbox properties
2021-02-16 13:58:59 +00:00
Nick O'Leary
df1eb631e1
Merge pull request #2752 from bartbutenaers/readonly-typedinput
...
Allow TypedInput to be disabled
2020-12-07 12:21:53 +00:00
Nick O'Leary
bed1d31bc8
Restore cursor position in TypedInput cred-mode
2020-11-16 11:37:04 +00:00
bartbutenaers
e149174696
Disable TypedInput
2020-11-06 08:45:50 +01:00
Nick O'Leary
ce7d7a8e01
Add RED.popover.menu as a new type of menu widget
2020-06-08 12:01:05 +01:00
Steve-Mcl
9128b12960
Support setting title on typedInput option/ check
2020-06-01 11:25:42 +01:00
Nick O'Leary
d7df20413d
Merge branch 'master' into dev
2020-05-04 11:41:44 +01:00
Nick O'Leary
e26eb85718
Fine tune typedInput flexbox handling on option-button
2020-04-08 17:06:11 +01:00
Nick O'Leary
6ff3286d78
Merge branch 'master' into dev
2020-04-02 16:52:55 +01:00
Nick O'Leary
f058de8bcd
Update TypedInput to use flexbox and remove resizing code
2020-04-02 16:49:58 +01:00
Nick O'Leary
bffcaa1c17
Refocus credential typedInput when hide/show button clicked
2020-02-10 11:16:19 +00:00
Nick O'Leary
33cbb2ada8
Fixup typedInput cred css
2020-02-10 11:09:49 +00:00
Nick O'Leary
d08e77cf36
Add credential type to TypedInput
2020-02-10 11:09:49 +00:00
Nick O'Leary
c09004dbc8
Fix error when setting typedInput to boolean true/false
2019-10-03 15:04:49 +01:00
Nick O'Leary
880757fb5d
Rework Subflow Instance property UI ( #2236 )
...
* Add support of Subflow UI definition
* new UI definition for env var
* fix label
* fixed value obtaining
* fixed label width
* fix checkbox
* fix subflow info
* remove old subflow ui tests
* add tests
* merge ui new changes
* fix initial open button
* fix environment variable edit tab
* WIP: cp-1
* Rework subflow ui property
* Restrict SF value type according to input selection
* Move subflow property UI code to subflow.js
* Update subflow ui type select appearance
* Present subflow instance properties as table rather than generated UI
* Move subflow instance properties to separate tab
* Fix subflow property ui element layout issues
2019-08-12 15:01:54 +01:00
Nick O'Leary
8b3b541a56
Improve typedInput label width calculation
...
If the label contains an img, the width calculation needs
to wait for the img to be loaded. This fix is a bit hacky
as it doesn't actually tie into the onload event, but should
be good enough
2019-07-01 11:17:36 +01:00
Nick O'Leary
93c811ab70
Update typedInput icons to svg
...
Map any request for one of our pngs to its svg replacement
2019-06-21 21:45:14 +01:00
Nick O'Leary
d645fbff2f
Merge branch 'master' into dev
2019-06-19 10:11:51 +01:00
Nick O'Leary
8486f4d43a
Copy data-i18n attribute on TypedInput
...
Fixes #2211
2019-06-19 10:10:17 +01:00