Project

General

Profile

Actions

Bug #10911

closed

Seletc2 fields do not work with nested fields

Added by Marek Hulán over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

There are two variants of using nested fields in Foreman, if we use add_child_link helper and the subform contains select, the select2 does not work correctly in added subform. The issue is that select2 was initialized for the template form and copying does not consider links (not sure if it's even possible). To fix this we should destroy select2 in template and reinitialize upon adding the copy of it. I think this could fix smart variable issue Shlomi has mentioned (https://github.com/theforeman/foreman/pull/2415#issuecomment-109982033) but I'm unable to verify because of #10878


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #10878: Smart variables tab in puppet class detail is dysfunctionalResolved06/19/2015Actions
Related to Foreman - Feature #10641: Ability to search VmWare networksClosedShlomi Zadok05/28/2015Actions
Related to Foreman - Bug #14200: External user groups auth source dropdown menu doesn't openClosedDominic Cleal03/15/2016Actions
Actions #1

Updated by Marek Hulán over 9 years ago

  • Related to Bug #10878: Smart variables tab in puppet class detail is dysfunctional added
Actions #2

Updated by Marek Hulán over 9 years ago

Actions #3

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2482 added
  • Pull request deleted ()
Actions #4

Updated by Marek Hulán over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #14200: External user groups auth source dropdown menu doesn't open added
Actions

Also available in: Atom PDF