Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support batch requested moves #1888

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

nardog
Copy link
Contributor

@nardog nardog commented Nov 11, 2023

Fixes #1681

@github-actions github-actions bot added Module: morebits The morebits.js library Module: xfd labels Nov 11, 2023
@NovemLinguae
Copy link
Member

NovemLinguae commented Sep 6, 2024

Before:
2024-09-05_194845

After:
2024-09-05_194922

image

@@ -371,7 +371,7 @@ Morebits.quickForm.prototype.append = function QuickFormAppend(data) {
* There is some difference on how types handle the `label` attribute:
* - `div`, `select`, `field`, `checkbox`/`radio`, `input`, `textarea`, `header`, and `dyninput` can accept an array of items,
* and the label item(s) can be `Element`s.
* - `option`, `optgroup`, `_dyninput_element`, `submit`, and `button` accept only a single string.
* - `option`, `optgroup`, `_dyninput_cell`, `submit`, and `button` accept only a single string.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my understanding, what does _dyninput_cell do and why did its name change?

event: data.event
event: data.event,
inputs: data.inputs || [{
// compatibility
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my understanding, what's going on with the compatibility sub-section here?

@@ -800,6 +785,41 @@ Morebits.quickForm.element.prototype.compute = function QuickFormElementCompute(
removeButton.morebutton = data.morebutton;
}
break;
case '_dyninput_cell': // Private, similar to normal input
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for my understanding, why did this case move down?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: morebits The morebits.js library Module: xfd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support multi-page requested moves
2 participants