User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Adds Route::_() for URLs to make sure they are corectly prefixed with a base URL.
Fix hardoced keyName id
to allow other var name.
Run npm install
Add the field somewhere, example in mod_custom:
<field
type="ModalSelect"
name="test"
label="Test"
default="1"
urlSelect="index.php?tmpl=component"
urlEdit="index.php?tmpl=component"
edit="true"
data-key-name="foo"
/>
Then open the form and click Edit button.
Check the popup content.
Also check the iframe url, in the browser console.
Depend from installation, you wil get 404 not found (for installations in subfolder) or home page.
Iframe url containe &id=1
You get dashboard in popup.
Iframe url containe &foo=1
Please select:
Reference;
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository NPM Change Layout |
Title |
|
Title |
|
I have tested this item ✅ successfully on e10dd4a
works as expected
I have tested this item ✅ successfully on e10dd4a
Tested following testing instructions. Works as described.
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-11-18 11:50:13 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
?
|
Thx
thanks, really appreciated.