Commit Graph

47 Commits

Author SHA1 Message Date
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
Nick O'Leary 14f6788ab9
Set autocomplete to disabled in form input elements 2019-06-14 11:17:49 +01:00
Nick O'Leary e3e0378857
Add visual json editor 2019-06-11 14:44:44 +01:00
Nick O'Leary eed3a749db
Fix undefined error on typedInput due to valueLabel used before being added 2019-06-07 14:34:35 +01:00
Hiroyasu Nishiyama cf8faac7ef fix width calculation of typedInput 2019-05-31 22:20:54 +09:00
Nick O'Leary 749a080397
Fix typedInput option selection
Fixes #2174
2019-05-25 21:19:31 +01:00
Nick O'Leary 245e06f026
Merge branch 'master' into dev 2019-05-24 10:22:14 +01:00
Nick O'Leary a71d4223ff
Add node-select to typedInput 2019-05-23 23:38:42 +01:00
Nick O'Leary 6a57d25f4a
Trigger change evnt on typedInput when type changes and options present
Fixes #2160
2019-05-17 11:45:16 +01:00
Nick O'Leary 3a257e1e00
Fix typedInput styling and allow option list to scroll 2019-05-16 10:28:01 +01:00
Nick O'Leary 4418f8bfce
Better CSS namespace of base form elements 2019-05-09 19:22:40 +01:00
Nick O'Leary b5da6f9c74
Upgrade to jq 3.3.1 / jq-ui 1.12.1
Uses jquery-migrate-3.0.1.min.js to keep things working.
2019-04-29 11:50:15 +01:00
JeanCarl 97e789538e
Transfer placeholder and type to generated TypedInput field 2019-02-15 14:40:19 -08:00
Nick O'Leary bb8e491856
Merge branch 'master' into dev 2018-10-22 11:02:23 +01:00
Nick O'Leary 55d71659f8
Merge branch 'master' into repackage 2018-08-29 09:55:40 +01:00
Nick O'Leary e57d8ba0ef
pull out editor-client and editor-api 2018-08-17 22:10:54 +01:00