proxmox-backup/www/form
Dominik Csapak b70a12e723 ui: tape/Restore: allow simple namespace mapping
add a default namespace selector (of the current default store)
and a namespace selector per target datastore (for media-sets with
multiple datastores).

to achieve that we have to change the way we handle the mapping field a bit:
* don't use it as field directly (otherwise the value gets stringified),
  but use the 'getValue' method in 'onGetValues'.
* set the defaultStore there, not only that we have one
  (with this we can now easily show it as emptytext for each store)
* add a reference to the widgets to the record so that we can access
  them in the respective change handler (also clean those references up,
  else we have a cyclic reference between record <-> widget)

in onGetValues, if we have multiple datastores, the mapping grid does
all the work for us, otherwise, we have to create the ns mapping
ourselves there.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-05-13 14:09:53 +02:00
..
AuthidSelector.js ui: auth/token selector: tell ExtJS we injected data into the store 2020-11-09 12:21:02 +01:00
CalendarEvent.js ui: calendar event: add once daily example and clarify workday one 2021-12-07 18:54:26 +01:00
DataStoreSelector.js ui: consistently spell Datastore without space between words 2020-07-02 17:20:41 +02:00
GroupFilter.js ui: group filter: make also local filter NS aware 2022-05-13 12:32:25 +02:00
GroupSelector.js ui: move max NS prefix length logic to reduced max-depth selector 2022-05-13 13:15:02 +02:00
NamespaceMaxDepth.js ui: move max NS prefix length logic to reduced max-depth selector 2022-05-13 13:15:02 +02:00
NamespaceSelector.js ui: tape/Restore: allow simple namespace mapping 2022-05-13 14:09:53 +02:00
PermissionPathSelector.js ui: add /access/domains to PermissionPathsStore 2021-07-09 15:36:54 +02:00
RemoteSelector.js fix #3058: ui: improve remote edit UX by clarifying ID vs host 2022-01-12 09:38:59 +01:00
RemoteTargetSelector.js ui: remote target selectors: code cleanups 2022-05-12 09:40:43 +02:00
TokenSelector.js ui: token selector: use same layout as auth id selector 2020-11-09 12:24:54 +01:00
VerifyOutdatedAfter.js ui: add verifyOutdatedAfter component 2022-05-12 09:33:50 +02:00